adding build flags
This commit is contained in:
@@ -35,6 +35,10 @@ else()
|
|||||||
# nothing special for gcc at the moment
|
# nothing special for gcc at the moment
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
add_compile_definitions(KGE_PLATFORM=${CMAKE_HOST_SYSTEM_NAME})
|
||||||
|
add_compile_definitions(KGE_VERSION=${PROJECT_VERSION})
|
||||||
|
|
||||||
|
message(STATUS "Build system: ${CMAKE_HOST_SYSTEM_NAME}")
|
||||||
|
|
||||||
if(${BUILD_GUI})
|
if(${BUILD_GUI})
|
||||||
include(cmake/imgui.cmake)
|
include(cmake/imgui.cmake)
|
||||||
|
|||||||
Reference in New Issue
Block a user