mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Enables support for having your project directory different to your Torque engine directory.
This commit is contained in:
parent
5e4008d207
commit
4c781ce5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ if(NOT TORQUE_TEMPLATE)
|
||||||
set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
|
set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
|
||||||
endif()
|
endif()
|
||||||
if(NOT TORQUE_APP_DIR)
|
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()
|
endif()
|
||||||
if(NOT projectOutDir)
|
if(NOT projectOutDir)
|
||||||
set(projectOutDir "${TORQUE_APP_DIR}/game")
|
set(projectOutDir "${TORQUE_APP_DIR}/game")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue