diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 45 | ||||
-rw-r--r-- | src/klcddimmer.cpp | 2 |
2 files changed, 46 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..11024ad --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,45 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### klcddimmer_panelapplet (shared) + +tde_add_library( klcddimmer_panelapplet SHARED AUTOMOC + + SOURCES + brightnesschooser.ui + brightnesschooserimpl.cpp + klcddimmer.cpp + klcddimmerapplet.cpp + preferences.kcfg + preferences.kcfgc + progpreferences.ui + LINK + tdeui-shared + tdecore-shared + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ${PROJECT_NAME} ) + + +##### other data + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${DATA_INSTALL_DIR}/kicker/applets +) diff --git a/src/klcddimmer.cpp b/src/klcddimmer.cpp index aa17d84..05b0da2 100644 --- a/src/klcddimmer.cpp +++ b/src/klcddimmer.cpp @@ -210,4 +210,4 @@ extern "C" } } - +#include "klcddimmer.moc" |