create /apps/temapltes/ structure, clean up cmake files to use directory name for binary name directly

This commit is contained in:
veclavtalica
2025-02-01 13:47:17 +03:00
parent 24e8dc052d
commit aeabb17f86
9 changed files with 102 additions and 6 deletions

View File

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.21)
project(twngame LANGUAGES C)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
endif()
add_subdirectory($ENV{TWNROOT}/apps/twnlua ${CMAKE_CURRENT_BINARY_DIR}/twnlua)