summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt39
1 files changed, 31 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 93766be..4b74eac 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,15 +1,38 @@
-add_subdirectory( src )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
+add_subdirectory( pics )
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
-##### icons
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
-tde_install_icons( ${PROJECT_NAME} )
+##### knetstats (executable)
-##### other data
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+ SOURCES
+ configurebase.ui
+ configure.cpp
+ statisticsbase.ui
+ main.cpp
+ knetstats.cpp
+ knetstatsview.cpp
+ statistics.cpp
+ chart.cpp
+ interface.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeui-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
)