2024-10-11 14:06:50 +00:00
|
|
|
cmake_minimum_required(VERSION 3.28)
|
|
|
|
|
2024-10-11 15:22:11 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS ON)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
2024-10-11 14:06:50 +00:00
|
|
|
|
2024-10-11 15:22:11 +00:00
|
|
|
# enable modules support
|
|
|
|
set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "0e5b6991-d74f-4b3d-a41c-cf096e0b2508")
|
2024-10-11 14:06:50 +00:00
|
|
|
|
2024-10-11 15:22:11 +00:00
|
|
|
project(gooey LANGUAGES CXX)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_MODULE_STD ON)
|
|
|
|
|
|
|
|
add_subdirectory(game)
|
|
|
|
|
|
|
|
add_executable(gooey src/main.cxx)
|
|
|
|
target_link_libraries(gooey game)
|