Skip to content

Commit

Permalink
Removed Imgui && CPR Building Dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSR007 committed Aug 13, 2024
1 parent 1b2df12 commit 5251f97
Show file tree
Hide file tree
Showing 40 changed files with 7 additions and 54,441 deletions.
16 changes: 7 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ cmake_minimum_required(VERSION 3.20.0 FATAL_ERROR)

project(canvas VERSION 0.1.0 LANGUAGES CXX C)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON) #uncomment if you wanna see compile commands
add_definitions(-DCURL_STATICLIB)
# set(CMAKE_EXPORT_COMPILE_COMMANDS ON) #uncomment if you wanna see compile commands

file(GLOB CPP_SRC
${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/include/imgui/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/include/cpr/*.cpp #only include when you need
)

add_library(
Expand All @@ -19,13 +16,14 @@ add_library(


set(LIBS
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/libcurl_a.lib #uncomment When Needed
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/libcpr.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/libcurl_a.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/libmem.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/vulkan.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/ktx.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/libimgui.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/vulkan.lib
${CMAKE_CURRENT_SOURCE_DIR}/lib/release/ktx.lib
)

#set(COPY_TO ${CMAKE_CURRENT_SOURCE_DIR}/mod-demo/powrprof/release/powrprof.lib) #mod demo is not used rn uncomment when needed
# set(COPY_TO ${CMAKE_CURRENT_SOURCE_DIR}/mod-demo/powrprof/release/powrprof.lib) #mod demo is not used rn uncomment when needed
set(COPY_TO ${CMAKE_CURRENT_SOURCE_DIR}/That_Sky_Mod/lib/release/powrprof.lib)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MD -D_ITERATOR_DEBUG_LEVEL=0")
Expand Down
38 changes: 0 additions & 38 deletions include/cpr/accept_encoding.cpp

This file was deleted.

8 changes: 0 additions & 8 deletions include/cpr/async.cpp

This file was deleted.

16 changes: 0 additions & 16 deletions include/cpr/auth.cpp

This file was deleted.

17 changes: 0 additions & 17 deletions include/cpr/bearer.cpp

This file was deleted.

14 changes: 0 additions & 14 deletions include/cpr/callback.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions include/cpr/cert_info.cpp

This file was deleted.

111 changes: 0 additions & 111 deletions include/cpr/cookies.cpp

This file was deleted.

11 changes: 0 additions & 11 deletions include/cpr/cprtypes.cpp

This file was deleted.

60 changes: 0 additions & 60 deletions include/cpr/curl_container.cpp

This file was deleted.

Loading

0 comments on commit 5251f97

Please sign in to comment.