~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-yakkety-landing-092

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Settings/Components/CMakeLists.txt

  • Committer: Bileto Bot
  • Date: 2016-08-18 10:53:52 UTC
  • mfrom: (103.1.43 add-autopkgtests)
  • Revision ID: ci-train-bot@canonical.com-20160818105352-eg3v2lkxv3w7w9n5
rename qtdeclarative5-ubuntu-settings-components to new naming scheme,
qml-module-ubuntu-settings-components

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
project(UbuntuSettingsComponentsQml)
2
2
 
3
 
find_package(Qt5Core REQUIRED)
4
 
 
5
 
include_directories(
6
 
    ${CMAKE_CURRENT_SOURCE_DIR}
7
 
    ${CMAKE_CURRENT_BINARY_DIR}
8
 
)
9
 
 
10
3
add_definitions(-DUBUNTUSETTINGSCOMPONENTS_LIBRARY)
11
4
 
12
5
add_library(UbuntuSettingsComponentsQml MODULE
14
7
    serverpropertysynchroniser.cpp
15
8
)
16
9
 
17
 
qt5_use_modules(UbuntuSettingsComponentsQml Core Qml Quick)
 
10
target_link_libraries(UbuntuSettingsComponentsQml
 
11
    Qt5::Core
 
12
    Qt5::Qml
 
13
    Qt5::Quick
 
14
)
18
15
 
19
16
add_usc_plugin(Ubuntu.Settings.Components 0.1 Ubuntu/Settings/Components TARGETS UbuntuSettingsComponentsQml)