mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 06:15:36 +00:00
Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor and moves the systemCommand method into that so that one can lock down full shell command execution calls without dropping tools support
This commit is contained in:
parent
2dbfc16cf9
commit
03efedab37
3 changed files with 7 additions and 1 deletions
|
|
@ -16,3 +16,6 @@ if(TORQUE_TOOLS)
|
|||
source_group(TREE "${CMAKE_SOURCE_DIR}/Engine/source/environment/editors/" PREFIX "Modules/TOOLS/environment" FILES ${TORQUE_TOOLS_SOURCES2})
|
||||
source_group(TREE "${CMAKE_SOURCE_DIR}/Engine/source/forest/editor/" PREFIX "Modules/TOOLS/forest" FILES ${TORQUE_TOOLS_SOURCES3})
|
||||
endif(TORQUE_TOOLS)
|
||||
if(TORQUE_TOOLS_EXT_COMMANDS)
|
||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TOOLS_EXT_COMMANDS)
|
||||
endif(TORQUE_TOOLS_EXT_COMMANDS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue