ok ok i made a ton of progress on theming
This commit is contained in:
parent
9ebb95135b
commit
5cbb13cf4b
14 changed files with 128 additions and 61 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
set(CMAKE_CXX_FLAGS "-std=c++26 -Wno-error -w")
|
||||
set(CMAKE_CXX_FLAGS "-std=c++26 -Wno-error -w -Oz -g")
|
||||
|
||||
if (DEFINED PLATFORMNAME)
|
||||
SET(CURRPLATFORM ${PLATFORMNAME})
|
||||
|
|
@ -9,7 +9,7 @@ endif (DEFINED PLATFORMNAME)
|
|||
|
||||
file(GLOB_RECURSE ENGINE_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
||||
|
||||
add_library(enginend SHARED ${ENGINE_SOURCES} )
|
||||
add_library(enginend STATIC ${ENGINE_SOURCES} )
|
||||
target_link_directories(
|
||||
enginend PUBLIC
|
||||
"${CMAKE_SOURCE_DIR}/link/${CURRPLATFORM}")
|
||||
|
|
@ -33,8 +33,8 @@ target_link_directories(
|
|||
test PUBLIC
|
||||
"${CMAKE_SOURCE_DIR}/link/${CURRPLATFORM}")
|
||||
target_link_libraries(test PRIVATE
|
||||
#"${CMAKE_SOURCE_DIR}/link/${CURRPLATFORM}/libenginend.so"
|
||||
enginend
|
||||
raylib
|
||||
)
|
||||
target_include_directories(test PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue