inital, almost working cross-compilation setup with Visual Studio and cmake

This commit is contained in:
Colin Sames
2026-04-03 15:51:02 +02:00
commit 39d875a316
356 changed files with 326295 additions and 0 deletions

12
game/CMakeLists.txt Normal file
View File

@@ -0,0 +1,12 @@
add_executable(game
"src/main.cpp"
)
target_link_libraries(game PRIVATE engine)
# On Windows, use the WINDOWS subsystem (no console) for release only
if(WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_target_properties(game PROPERTIES WIN32_EXECUTABLE TRUE)
endif()
endif()