cmake_minimum_required(VERSION 3.28) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS ON) set(CMAKE_CXX_STANDARD_REQUIRED ON) # enable modules support set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "0e5b6991-d74f-4b3d-a41c-cf096e0b2508") project(gooey LANGUAGES CXX) set(CMAKE_CXX_MODULE_STD ON) add_subdirectory(game) add_executable(gooey src/main.cxx) target_link_libraries(gooey game)