~unity-team/unity-scopes-shell/trunk

« back to all changes in this revision

Viewing changes to src/Unity/CMakeLists.txt

  • Committer: Pete Woods
  • Date: 2014-06-11 17:08:34 UTC
  • mto: (104.1.3 unity-scopes-shell)
  • mto: This revision was merged to the branch mainline in revision 105.
  • Revision ID: pete.woods@canonical.com-20140611170834-8hw3e77gqpq4zg74
Initial commit of scope settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
pkg_check_modules(SCOPES_API REQUIRED unity-shell-scopes=1)
6
6
pkg_check_modules(SCOPESLIB REQUIRED libunity-scopes>=0.4.8)
7
7
pkg_check_modules(GSETTINGSQT REQUIRED gsettings-qt)
 
8
pkg_check_modules(U1DB REQUIRED libu1db-qt5)
8
9
 
9
10
include_directories(
10
11
    ${CMAKE_CURRENT_SOURCE_DIR}
11
12
    ${CMAKE_CURRENT_BINARY_DIR}
12
13
    ${SCOPESLIB_INCLUDE_DIRS}
13
14
    ${GSETTINGSQT_INCLUDE_DIRS}
 
15
    ${U1DB_INCLUDE_DIRS}
14
16
)
15
17
 
16
18
set(QMLPLUGIN_SRC
24
26
    resultsmodel.cpp
25
27
    scope.cpp
26
28
    scopes.cpp
 
29
    settingsmodel.cpp
27
30
    utils.cpp
28
31
    plugin.cpp
29
32
    iconutils.cpp
37
40
    ${SCOPES_API_INCLUDEDIR}/unity/shell/scopes/ResultsModelInterface.h
38
41
    ${SCOPES_API_INCLUDEDIR}/unity/shell/scopes/ScopeInterface.h
39
42
    ${SCOPES_API_INCLUDEDIR}/unity/shell/scopes/ScopesInterface.h
 
43
    ${SCOPES_API_INCLUDEDIR}/unity/shell/scopes/SettingsModelInterface.h
40
44
)
41
45
 
42
46
add_library(Unity-qml SHARED ${QMLPLUGIN_SRC})
44
48
target_link_libraries(Unity-qml
45
49
    ${SCOPESLIB_LDFLAGS}
46
50
    ${GSETTINGSQT_LDFLAGS}
 
51
    ${U1DB_LDFLAGS}
47
52
    )
48
53
 
49
54
qt5_use_modules(Unity-qml Qml Gui DBus)