diff --git a/CMakeLists.txt b/CMakeLists.txt index a74ec11..5e09c92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,10 @@ else() # nothing special for gcc at the moment 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}) include(cmake/imgui.cmake)