on 6e2f048 help sign in
unity8/plugins/Unity/Debug/CMakeLists.txt
30 lines 714 B history raw
1include_directories(
2 ${CMAKE_CURRENT_SOURCE_DIR}
3 ${CMAKE_CURRENT_BINARY_DIR}
4)
6include_directories(
7 SYSTEM
8 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
9 ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
10 ${GIO_INCLUDE_DIRS}
13set(QMLPLUGIN_SRC
14 consolelog.cpp
15 plugin.cpp
16 )
18add_library(Debug-qml SHARED
19 ${QMLPLUGIN_SRC}
20 )
22# Because this is an internal support library, we want
23# to expose all symbols in it. Consider changing this
24# either to a static library or just using the
25# files directly in targets.
26set_target_properties(Debug-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
28qt5_use_modules(Debug-qml Qml Quick Concurrent)
30add_unity8_plugin(Unity.Debug 0.1 Unity/Debug TARGETS Debug-qml)