2024-07-29 22:20:30 +00:00
|
|
|
cmake_minimum_required(VERSION 3.21)
|
|
|
|
|
|
|
|
project(template LANGUAGES C)
|
|
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
endif()
|
|
|
|
|
2024-09-25 16:51:39 +00:00
|
|
|
add_subdirectory($ENV{TWNROOT} $ENV{TWNBUILDDIR})
|
2024-07-29 22:20:30 +00:00
|
|
|
|
|
|
|
set(SOURCE_FILES
|
2024-07-29 22:36:57 +00:00
|
|
|
game.c
|
2024-08-21 14:29:06 +00:00
|
|
|
state.h
|
2024-07-29 22:20:30 +00:00
|
|
|
)
|
|
|
|
|
2024-10-07 15:55:25 +00:00
|
|
|
use_townengine(${PROJECT_NAME} "${SOURCE_FILES}" ${CMAKE_CURRENT_SOURCE_DIR})
|