not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / libs / kephal / kephald / CMakeLists.txt
blob41e54734a9e4061df49e510f630b39850c2c6c3e
1 PROJECT (kephald)
3 INCLUDE_DIRECTORIES (. .. ../kded_kephal ${CMAKE_CURRENT_SOURCE_DIR}/../kephal/ ${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
5 ADD_DEFINITIONS (-DNO_KDE)
7 SET (kephald_SRCS
8         ../xml/xmltype.cpp
9         ../xml/configurations_xml.cpp
10         ../xml/xmlnodehandler.cpp
11         ../xrandr12/randr.cpp
12         ../xrandr12/randrscreen.cpp
13         ../xrandr12/randroutput.cpp
14         ../xrandr12/randrcrtc.cpp
15         ../xrandr12/randrmode.cpp
16         ../xrandr12/randrdisplay.cpp
17         kephald.cpp
18         ../kephal/screens.cpp
19         ../screens/simplescreen.cpp
20         ../screens/output/outputscreens.cpp
21         ../screens/configuration/configurationscreens.cpp
22         ../kded_kephal/dbus/dbusapi_screens.cpp
23         ../outputs/simpleoutput.cpp
24         ../outputs/desktopwidget/desktopwidgetoutputs.cpp
25         ../kephal/outputs.cpp
26         ../outputs/backendoutputs.cpp
27         ../outputs/xrandr/xrandroutputs.cpp
28         ../kded_kephal/dbus/dbusapi_outputs.cpp
29         ../kded_kephal/dbus/dbusapi_configurations.cpp
30         ../kephal/configurations.cpp
31         ../configurations/backendconfigurations.cpp
32         ../configurations/externalconfiguration.cpp
33         ../configurations/xml/xmlconfigurations.cpp)
34 QT4_WRAP_CPP (kephald_SRCS
35         ../xml/xmltype.h
36         ../xml/configurations_xml.h
37         ../xrandr12/randrscreen.h
38         ../xrandr12/randroutput.h
39         ../xrandr12/randrcrtc.h
40         kephald.h
41         ../kephal/screens.h
42         ../screens/simplescreen.h
43         ../screens/output/outputscreens.h
44         ../screens/configuration/configurationscreens.h
45         ../kded_kephal/dbus/dbusapi_screens.h
46         ../outputs/simpleoutput.h
47         ../outputs/desktopwidget/desktopwidgetoutputs.h
48         ../kephal/outputs.h
49         ../outputs/backendoutputs.h
50         ../outputs/xrandr/xrandroutputs.h
51         ../kded_kephal/dbus/dbusapi_outputs.h
52         ../kded_kephal/dbus/dbusapi_configurations.h
53         ../kephal/configurations.h
54         ../configurations/externalconfiguration.h
55         ../configurations/backendconfigurations.h
56         ../configurations/xml/xmlconfigurations.h)
57 QT4_GENERATE_DBUS_INTERFACE(../kded_kephal/dbus/dbusapi_screens.h org.kde.Kephal.Screens.xml)
58 QT4_ADD_DBUS_ADAPTOR (kephald_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Kephal.Screens.xml
59         ../kded_kephal/dbus/dbusapi_screens.h DBusAPIScreens)
60 QT4_GENERATE_DBUS_INTERFACE(../kded_kephal/dbus/dbusapi_outputs.h org.kde.Kephal.Outputs.xml)
61 QT4_ADD_DBUS_ADAPTOR (kephald_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Kephal.Outputs.xml
62         ../kded_kephal/dbus/dbusapi_outputs.h DBusAPIOutputs)
63 QT4_GENERATE_DBUS_INTERFACE(../kded_kephal/dbus/dbusapi_configurations.h org.kde.Kephal.Configurations.xml)
64 QT4_ADD_DBUS_ADAPTOR (kephald_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Kephal.Configurations.xml
65         ../kded_kephal/dbus/dbusapi_configurations.h DBusAPIConfigurations)
66         
67 ADD_EXECUTABLE (kephald ${kephald_SRCS})
68 TARGET_LINK_LIBRARIES (kephald ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY})
70 INSTALL (TARGETS kephald ${INSTALL_TARGETS_DEFAULT_ARGS})