Debian Codegraph @

plugins/script/CMakeLists.txt

raw
1 add_library(script MODULE
2 interfaces/BrushInterface.cpp
3 interfaces/CameraInterface.cpp
4 interfaces/CommandSystemInterface.cpp
5 interfaces/DeclarationManagerInterface.cpp
6 interfaces/DialogInterface.cpp
7 interfaces/EClassInterface.cpp
8 interfaces/EntityInterface.cpp
9 interfaces/FileSystemInterface.cpp
10 interfaces/FxManagerInterface.cpp
11 interfaces/GameInterface.cpp
12 interfaces/GridInterface.cpp
13 interfaces/LayerInterface.cpp
14 interfaces/MapInterface.cpp
15 interfaces/MathInterface.cpp
16 interfaces/ModelInterface.cpp
17 interfaces/PatchInterface.cpp
18 interfaces/RadiantInterface.cpp
19 interfaces/SceneGraphInterface.cpp
20 interfaces/SelectionGroupInterface.cpp
21 interfaces/SelectionInterface.cpp
22 interfaces/SelectionSetInterface.cpp
23 interfaces/ShaderSystemInterface.cpp
24 interfaces/SkinInterface.cpp
25 interfaces/SoundInterface.cpp
26 PythonModule.cpp
27 SceneNodeBuffer.cpp
28 ScriptCommand.cpp
29 ScriptingSystem.cpp
30 ScriptModule.cpp)
31 set_target_properties(script PROPERTIES CXX_VISIBILITY_PRESET hidden)
32 target_include_directories(script SYSTEM PUBLIC
33 ${CMAKE_SOURCE_DIR}/libs/pybind
34 ${Python_INCLUDE_DIRS})
35 target_link_libraries(script PUBLIC
36 math
37 ${Python_LIBRARIES} ${SIGC_LIBRARIES})
38
39 # Enable precompiled header for script plugin
40 if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
41 target_precompile_headers(script PRIVATE "precompiled.h")
42 endif()