diff options
Diffstat (limited to 'kpercentage')
-rw-r--r-- | kpercentage/CMakeLists.txt | 1 | ||||
-rw-r--r-- | kpercentage/kpercentage/CMakeLists.txt | 48 | ||||
-rw-r--r-- | kpercentage/kpercentage/icons/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kpercentage/kpercentage/icons/actions/CMakeLists.txt | 1 | ||||
-rw-r--r-- | kpercentage/kpercentage/pics/CMakeLists.txt | 11 |
5 files changed, 66 insertions, 0 deletions
diff --git a/kpercentage/CMakeLists.txt b/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..476754bc --- /dev/null +++ b/kpercentage/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( kpercentage ) diff --git a/kpercentage/kpercentage/CMakeLists.txt b/kpercentage/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..79a57f3f --- /dev/null +++ b/kpercentage/kpercentage/CMakeLists.txt @@ -0,0 +1,48 @@ +add_subdirectory( icons ) +add_subdirectory( pics ) + +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} +) + + +##### kpercentage (executable) + +tde_add_executable( kpercentage AUTOMOC + + SOURCES + kanimation.cpp + kanswer.cpp + kpercentmain.cpp + kpercentage.cpp + ksplashscreen.cpp + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kpercentage.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES right.txt wrong.txt + DESTINATION ${DATA_INSTALL_DIR}/kpercentage +) diff --git a/kpercentage/kpercentage/icons/CMakeLists.txt b/kpercentage/kpercentage/icons/CMakeLists.txt new file mode 100644 index 00000000..54771918 --- /dev/null +++ b/kpercentage/kpercentage/icons/CMakeLists.txt @@ -0,0 +1,5 @@ +add_subdirectory( actions ) + +##### icons + +tde_install_icons( ) diff --git a/kpercentage/kpercentage/icons/actions/CMakeLists.txt b/kpercentage/kpercentage/icons/actions/CMakeLists.txt new file mode 100644 index 00000000..160df70d --- /dev/null +++ b/kpercentage/kpercentage/icons/actions/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kpercentage/icons ) diff --git a/kpercentage/kpercentage/pics/CMakeLists.txt b/kpercentage/kpercentage/pics/CMakeLists.txt new file mode 100644 index 00000000..2b3aea4f --- /dev/null +++ b/kpercentage/kpercentage/pics/CMakeLists.txt @@ -0,0 +1,11 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kpercentage/pics +) + +install( + FILES right.story wrong.story + DESTINATION ${DATA_INSTALL_DIR}/kpercentage/story +) |