diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-31 22:50:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-12 10:58:18 +0900 |
| commit | d8d55853dcf9aae732bb266ec766c6d10f5bf7ff (patch) | |
| tree | e2aed68bb901a578e5231d8800f1facda3e458db /src/CMakeLists.txt | |
| parent | ec41c8e01cf99fe82118d8c739da6a498ee7afb4 (diff) | |
| download | krecipes-d8d55853.tar.gz krecipes-d8d55853.zip | |
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2c316e3037228223164adf5cd3446cf47f1744a4)
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..5634bb3 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,61 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +##### subfolders + +add_subdirectory( backends ) +add_subdirectory( datablocks ) +add_subdirectory( dialogs ) +add_subdirectory( exporters ) +add_subdirectory( importers ) +add_subdirectory( widgets ) + + +##### krecipes (executable) + +tde_add_executable( krecipes AUTOMOC + SOURCES + main.cpp krecipes.cpp krecipesview.cpp pref.cpp + krecipesiface.skel krecipesdbiface.skel + propertycalculator.cpp setupwizard.cpp + shoppingcalculator.cpp kstartuplogo.cpp + recipeactionshandler.cpp recipefilter.cpp + convert_sqlite3.cpp klomanager.cpp + LINK + krecipesdbs-static krecipesexporters-static krecipesimporters-static + krecipesdialogs-static krecipeswidgets-static datablocks-static + tdecore-shared tdeui-shared tdeio-shared tdeparts-shared + tdefx-shared tdehtml-shared DCOP-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES krecipes.xpm + DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps +) + +install( + FILES krecipesui.rc + DESTINATION ${DATA_INSTALL_DIR}/krecipes +) + +tde_create_translated_desktop( + SOURCE krecipes.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +tde_install_icons( DESTINATION ${SHARE_INSTALL_PREFIX}/icons ) |
