diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/app/CMakeLists.txt | 32 | ||||
-rw-r--r-- | src/part/CMakeLists.txt | 36 | ||||
-rw-r--r-- | src/part/radialMap/CMakeLists.txt | 31 |
4 files changed, 103 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..405d5ab --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,4 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( app ) +add_subdirectory( part ) diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt new file mode 100644 index 0000000..a374204 --- /dev/null +++ b/src/app/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (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 + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### filelight (executable) #################### + +tde_add_executable( filelight AUTOMOC + SOURCES historyAction.cpp mainWindow.cpp main.cpp + LINK tdeui-shared tdeparts-shared + DESTINATION ${BIN_INSTALL_DIR} +) 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 +) |