~unity-2d-team/unity-2d/previews

« back to all changes in this revision

Viewing changes to libunity-2d-private/Unity2d/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Florian Boucault
  • Date: 2011-08-01 09:01:41 UTC
  • mfrom: (654.1.2 move_unity2d_to_src)
  • Revision ID: ubuntu.builder@gmail.com-20110801090141-ystiswe03csj81cq
[backend] Moved all classes in libunity-2d-private from Unity2d to src. Unity2d only contains code to declare the QML plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Dependencies
2
 
pkg_check_modules(QTBAMF REQUIRED libqtbamf)
3
 
pkg_check_modules(QTGCONF REQUIRED libqtgconf)
4
 
pkg_check_modules(QTDEE REQUIRED libqtdee)
5
 
pkg_check_modules(DBUSMENUQT REQUIRED dbusmenu-qt)
6
 
pkg_check_modules(STARTUPNOTIFICATION REQUIRED libstartup-notification-1.0)
7
 
pkg_check_modules(INDICATOR REQUIRED indicator)
8
 
pkg_check_modules(DCONFQT REQUIRED dconf-qt)
9
 
 
10
1
# Sources
11
2
set(unity-2d-private-qml_SRCS
12
3
    plugin.cpp
13
 
    qsortfilterproxymodelqml.cpp
14
 
    blendedimageprovider.cpp
15
 
    windowimageprovider.cpp
16
 
    windowinfo.cpp
17
 
    windowslist.cpp
18
 
    screeninfo.cpp
19
 
    cacheeffect.cpp
20
 
    workspacesinfo.cpp
21
 
    signalwaiter.cpp
22
 
    dragitem.cpp
23
 
    dragitemwithurl.cpp
24
 
    dropitem.cpp
25
 
    iconimageprovider.cpp
26
 
    listaggregatormodel.cpp
27
 
    launcheritem.cpp
28
 
    launcherapplication.cpp
29
 
    launcherapplicationslist.cpp
30
 
    launcherapplicationslistdbus.cpp
31
 
    launcherdevice.cpp
32
 
    launcherdeviceslist.cpp
33
 
    launcherutility.cpp
34
 
    placeentry.cpp
35
 
    place.cpp
36
 
    launcherplaceslist.cpp
37
 
    trash.cpp
38
 
    launchermenu.cpp
39
 
    webfavorite.cpp
40
 
    workspaces.cpp
41
 
    launcherdropitem.cpp
42
 
    iconutilities.cpp
43
4
    )
44
5
 
45
6
set(unity-2d-private-qml_MOC_HDRS
46
7
    plugin.h
47
 
    qsortfilterproxymodelqml.h
48
 
    windowinfo.h
49
 
    windowslist.h
50
 
    screeninfo.h
51
 
    cacheeffect.h
52
 
    workspacesinfo.h
53
 
    signalwaiter.h
54
 
    dragitem.h
55
 
    dragitemwithurl.h
56
 
    dropitem.h
57
 
    listaggregatormodel.h
58
 
    launcheritem.h
59
 
    launcherapplication.h
60
 
    launcherapplicationslist.h
61
 
    launcherapplicationslistdbus.h
62
 
    launcherdevice.h
63
 
    launcherdeviceslist.h
64
 
    launcherutility.h
65
 
    placeentry.h
66
 
    place.h
67
 
    launcherplaceslist.h
68
 
    trash.h
69
 
    launchermenu.h
70
 
    webfavorite.h
71
 
    workspaces.h
72
 
    launcherdropitem.h
73
 
    iconutilities.h
74
8
    )
75
9
 
76
10
file(GLOB unity-2d-private-qml_QML *.qml)
80
14
 
81
15
# Build
82
16
add_library(unity-2d-private-qml SHARED ${unity-2d-private-qml_SRCS} ${unity-2d-private-qml_MOC_SRCS} ${unity-2d-private-qml_RC_SRCS})
83
 
add_definitions(-DWNCK_I_KNOW_THIS_IS_UNSTABLE -DSN_API_NOT_YET_FROZEN)
 
17
add_definitions(-DWNCK_I_KNOW_THIS_IS_UNSTABLE)
84
18
 
85
19
include_directories(
86
20
    ${CMAKE_CURRENT_BINARY_DIR}
101
35
 
102
36
target_link_libraries(unity-2d-private-qml
103
37
    ${QT_QTCORE_LIBRARIES}
104
 
    ${QT_QTDBUS_LIBRARIES}
105
38
    ${QT_QTDECLARATIVE_LIBRARIES}
106
 
    ${QT_QTGUI_LIBRARIES}
107
 
    ${QT_QTNETWORK_LIBRARIES}
108
 
    ${WNCK_LDFLAGS}
109
 
    ${QTBAMF_LDFLAGS}
110
 
    ${QTGCONF_LDFLAGS}
111
 
    ${QTDEE_LDFLAGS}
112
 
    ${DBUSMENUQT_LDFLAGS}
113
 
    ${GLIB_LDFLAGS}
114
 
    ${GDK_LDFLAGS}
115
 
    ${GIO_LDFLAGS}
116
 
    ${STARTUPNOTIFICATION_LDFLAGS}
117
 
    ${INDICATOR_LDFLAGS}
118
 
    ${DCONFQT_LDFLAGS}
119
 
    ${X11_Xcomposite_LIB}
120
39
    unity-2d-private
121
40
    )
122
41