on bbbdccd help sign in
unity8/plugins/Wizard/Utils/CMakeLists.txt
27 lines 775 B history raw
1include_directories(
2 ${CMAKE_CURRENT_SOURCE_DIR}
3 ${CMAKE_CURRENT_BINARY_DIR}
4 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
5)
7set(QMLPLUGIN_SRC
8 qsortfilterproxymodelqml.cpp
9 plugin.cpp
10 system.cpp
11 )
13add_library(WizardUtils-qml SHARED
14 ${QMLPLUGIN_SRC}
15 )
17# Because this is an internal support library, we want
18# to expose all symbols in it. Consider changing this
19# either to a static library or just using the
20# files directly in targets.
21set_target_properties(WizardUtils-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
23qt5_use_modules(WizardUtils-qml DBus Qml Quick)
25set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Wizard/Utils)
26install(FILES qmldir DESTINATION ${PLUG_DIR})
27install(TARGETS WizardUtils-qml DESTINATION ${PLUG_DIR})