Enables support for having your project directory different to your Torque engine directory.

This commit is contained in:
Joseph 2021-01-08 20:59:35 +00:00
parent 5e4008d207
commit 4c781ce5c6

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_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}")
set(TORQUE_APP_DIR "${CMAKE_BINARY_DIR}")
endif()
if(NOT projectOutDir)
set(projectOutDir "${TORQUE_APP_DIR}/game")