diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-01-23 02:03:06 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-01-23 02:03:21 +0100 |
commit | 561f5a476064264d5044ad3b0d50d61b6e79b3c6 (patch) | |
tree | e9c530f27eb8b3e7391dfa1a528a4de55978bb63 /src/part | |
parent | b82854c10b6ba3ffbbcb55257a5bfcb433934066 (diff) | |
download | filelight-561f5a476064264d5044ad3b0d50d61b6e79b3c6.tar.gz filelight-561f5a476064264d5044ad3b0d50d61b6e79b3c6.zip |
Initial-cmake-conversion
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 9ffcfe47affd396c395008e4715773228ab53f63)
Diffstat (limited to 'src/part')
-rw-r--r-- | src/part/CMakeLists.txt | 36 | ||||
-rw-r--r-- | src/part/radialMap/CMakeLists.txt | 31 |
2 files changed, 67 insertions, 0 deletions
diff --git a/src/part/CMakeLists.txt b/src/part/CMakeLists.txt new file mode 100644 index 0000000..8bd06ab --- /dev/null +++ b/src/part/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( radialMap ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libfilelight (kpart) ###################### + +tde_add_kpart( libfilelight AUTOMOC + SOURCES dialog.ui part.cpp scan.cpp progressBox.cpp Config.cpp + settingsDialog.cpp fileTree.cpp localLister.cpp remoteLister.cpp + summaryWidget.cpp + LINK radialmap-static tdeui-shared tdeio-shared tdeparts-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/src/part/radialMap/CMakeLists.txt b/src/part/radialMap/CMakeLists.txt new file mode 100644 index 0000000..e563835 --- /dev/null +++ b/src/part/radialMap/CMakeLists.txt @@ -0,0 +1,31 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/part + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### radialmap (static) ######################## + +tde_add_library( radialmap STATIC_PIC AUTOMOC + SOURCES widget.cpp builder.cpp map.cpp widgetEvents.cpp labels.cpp + segmentTip.cpp +) |