khanat-opennel-code/code/nel/tools/CMakeLists.txt

36 lines
713 B
CMake
Raw Normal View History

2016-01-24 16:08:32 +00:00
# Don't add other subdirectories if only max plugins are selected.
ADD_SUBDIRECTORY(misc)
IF(WITH_NEL_TOOLS)
ADD_SUBDIRECTORY(memory)
2016-02-21 12:22:22 +00:00
ENDIF()
2016-01-24 16:08:32 +00:00
# Max plugins are under the 3d directory as well.
# Allow to compile only max plugins without other tools.
IF(WITH_NEL_TOOLS OR WITH_NEL_MAXPLUGIN)
ADD_SUBDIRECTORY(3d)
ENDIF()
# Don't add other subdirectories if only max plugins are selected.
IF(WITH_NEL_TOOLS)
IF(WITH_PACS)
ADD_SUBDIRECTORY(pacs)
2016-02-21 12:22:22 +00:00
ENDIF()
2016-01-24 16:08:32 +00:00
IF(WITH_LOGIC)
ADD_SUBDIRECTORY(logic)
2016-02-21 12:22:22 +00:00
ENDIF()
2016-01-24 16:08:32 +00:00
IF(WITH_GEORGES)
ADD_SUBDIRECTORY(georges)
2016-02-21 12:22:22 +00:00
ENDIF()
2016-01-24 16:08:32 +00:00
IF(WITH_SOUND)
ADD_SUBDIRECTORY(sound)
2016-02-21 12:22:22 +00:00
ENDIF()
ENDIF()
IF(WITH_NEL_TESTS)
ADD_SUBDIRECTORY(nel_unit_test)
ENDIF()