More dependencies

This commit is contained in:
2026-08-27 23:48:25 +02:00
parent f518bf7c8a
commit ed5061dc52
4 changed files with 24 additions and 11 deletions
+11 -1
View File
@@ -1,6 +1,16 @@
cmake_minimum_required(VERSION 3.26)
project(Bigfoot VERSION 0.1.0
# Probe project to load the toolchain file (which sets TOOLMODE) before the
# real project() call decides between the tool and game solution names.
project(BigfootProbe LANGUAGES NONE)
if(NOT DEFINED TOOLMODE OR TOOLMODE)
set(BIGFOOT_PROJECT_NAME BigfootTool)
else()
set(BIGFOOT_PROJECT_NAME BigfootGame)
endif()
project(${BIGFOOT_PROJECT_NAME} VERSION 0.1.0
DESCRIPTION "The Bigfoot engine"
LANGUAGES CXX)