Help from Az finally gave the correct answer to the problem I was trying to address originally, so really this fix is from Az.

Exposes the directory for where your game files go in cmake without having to go to Advanced tab.
This commit is contained in:
Joseph 2021-01-10 21:48:46 +00:00
parent 4c781ce5c6
commit fe9dc1e25b

View file

@ -32,7 +32,7 @@ if(NOT TORQUE_TEMPLATE)
set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
endif()
if(NOT TORQUE_APP_DIR)
set(TORQUE_APP_DIR "${CMAKE_BINARY_DIR}")
set(TORQUE_APP_DIR "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}" CACHE STRING "final installation location")
endif()
if(NOT projectOutDir)
set(projectOutDir "${TORQUE_APP_DIR}/game")