mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
more tools pseudo-module incorporation cleanup
This commit is contained in:
parent
a36a35c39e
commit
62f4d443d5
|
|
@ -4,8 +4,14 @@ option(TORQUE_TOOLS "Enable Torque Tools" ON)
|
|||
if(TORQUE_TOOLS)
|
||||
message("Enabling Torque Tools Module")
|
||||
|
||||
file(GLOB_RECURSE TORQUE_TOOLS_SOURCES "gui/editor/*.cpp" "gui/worldEditor/*.cpp")
|
||||
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_TOOLS_SOURCES})
|
||||
file(GLOB_RECURSE TORQUE_TOOLS_SOURCES "gui/editor/*.cpp" "gui/editor/*.h" "gui/worldEditor/*.cpp" "gui/worldEditor/*.h")
|
||||
file(GLOB_RECURSE TORQUE_TOOLS_SOURCES2 "environment/editors/*.cpp" "environment/editors/*.h")
|
||||
file(GLOB_RECURSE TORQUE_TOOLS_SOURCES3 "forest/editor/*.cpp" "forest/editor/*.h")
|
||||
|
||||
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_TOOLS_SOURCES} ${TORQUE_TOOLS_SOURCES2} ${TORQUE_TOOLS_SOURCES3})
|
||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TOOLS)
|
||||
source_group(TREE "${CMAKE_SOURCE_DIR}/Engine/source/gui/" PREFIX "Modules/TOOLS" FILES ${TORQUE_TOOLS_SOURCES})
|
||||
#VS display
|
||||
source_group(TREE "${CMAKE_SOURCE_DIR}/Engine/source/gui/" PREFIX "Modules/TOOLS/gui" FILES ${TORQUE_TOOLS_SOURCES})
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue