mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 11:55:33 +00:00
10 lines
356 B
CMake
10 lines
356 B
CMake
|
|
option(TORQUE_AFX_ENABLED "Enable AFX module" ON)
|
||
|
|
|
||
|
|
if(TORQUE_AFX_ENABLED)
|
||
|
|
message("Enabling AFX Module")
|
||
|
|
|
||
|
|
file(GLOB_RECURSE TORQUE_SFX_SOURCES "${CMAKE_SOURCE_DIR}/Engine/source/afx/*.cpp")
|
||
|
|
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_SFX_SOURCES})
|
||
|
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_AFX_ENABLED)
|
||
|
|
endif()
|