diff options
author | Slávek Banko <[email protected]> | 2018-10-26 04:07:01 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-27 13:36:02 +0200 |
commit | 42673b0179d00e2b5a05fb48438577b923f00b8b (patch) | |
tree | c42ef21f0799c5e73ae1ccb6ed439d690ec9e59c /src/CMakeLists.txt | |
parent | 0e396d6b00651d811959f8d4c7ccad9ff868a1a1 (diff) | |
download | knetstats-42673b0179d00e2b5a05fb48438577b923f00b8b.tar.gz knetstats-42673b0179d00e2b5a05fb48438577b923f00b8b.zip |
Fix structure of directories
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 06772a369f2beef80bb291ded30cbe125a24af56)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 39 |
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} ) |