diff options
author | Michele Calgaro <[email protected]> | 2024-12-01 10:36:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-26 10:37:38 +0900 |
commit | 76a8e935be38afad0105c46d5a2aa7b58162223b (patch) | |
tree | ec4150730a6bb1900c9d4541fd9faf0c4d41b00a /src/showfoto | |
parent | 67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff) | |
download | digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.tar.gz digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.zip |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/showfoto')
-rw-r--r-- | src/showfoto/CMakeLists.txt | 45 | ||||
-rw-r--r-- | src/showfoto/setup/CMakeLists.txt | 12 |
2 files changed, 57 insertions, 0 deletions
diff --git a/src/showfoto/CMakeLists.txt b/src/showfoto/CMakeLists.txt new file mode 100644 index 00000000..96993fb3 --- /dev/null +++ b/src/showfoto/CMakeLists.txt @@ -0,0 +1,45 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/setup + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/imageproperties + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/thumbbar + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/tools + ${CMAKE_SOURCE_DIR}/src/utilities/slideshow + ${CMAKE_SOURCE_DIR}/src/utilities/setup +) + + +##### subfolders + +add_subdirectory( setup ) + + +##### showfoto (executable) + +tde_add_executable( showfoto AUTOMOC + SOURCES main.cpp showfoto.cpp + LINK + imagepropertiesshowfoto-static jpegutils-static showfoto-static showfotosetupinternal-static + slideshow-static themeengine-static threadimageio-static thumbbar-static + tdeparts-shared tdeutils-shared ${CMAKE_THREAD_LIBS_INIT} ${KDCRAW_LIBRARIES} ${KEXIV2_LIBRARIES} + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES showfotoui.rc + DESTINATION ${DATA_INSTALL_DIR}/showfoto +) + +tde_create_translated_desktop( + SOURCE showfoto.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) diff --git a/src/showfoto/setup/CMakeLists.txt b/src/showfoto/setup/CMakeLists.txt new file mode 100644 index 00000000..3755aa43 --- /dev/null +++ b/src/showfoto/setup/CMakeLists.txt @@ -0,0 +1,12 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/utilities/setup +) + + +##### showfotosetupinternal library (static) + +tde_add_library( showfotosetupinternal STATIC_PIC AUTOMOC + SOURCES setup.cpp setupeditor.cpp setuptooltip.cpp + LINK showfotosetup-static +) |