mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
9 lines
356 B
CMake
9 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()
|