summaryrefslogtreecommitdiffstats
path: root/src/libs/widgets/common
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-01 10:36:36 +0900
committerMichele Calgaro <[email protected]>2024-12-26 10:37:38 +0900
commit76a8e935be38afad0105c46d5a2aa7b58162223b (patch)
treeec4150730a6bb1900c9d4541fd9faf0c4d41b00a /src/libs/widgets/common
parent67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff)
downloaddigikam-76a8e935be38afad0105c46d5a2aa7b58162223b.tar.gz
digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/libs/widgets/common')
-rw-r--r--src/libs/widgets/common/CMakeLists.txt29
-rw-r--r--src/libs/widgets/common/dlogoaction.cpp1
2 files changed, 30 insertions, 0 deletions
diff --git a/src/libs/widgets/common/CMakeLists.txt b/src/libs/widgets/common/CMakeLists.txt
new file mode 100644
index 00000000..c72bc242
--- /dev/null
+++ b/src/libs/widgets/common/CMakeLists.txt
@@ -0,0 +1,29 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src/libs/curves
+ ${CMAKE_SOURCE_DIR}/src/libs/dimg/loaders
+)
+
+
+##### commonwidgets library (static)
+
+tde_add_library( commonwidgets STATIC_PIC AUTOMOC
+ SOURCES
+ histogramwidget.cpp colorgradientwidget.cpp curveswidget.cpp dlogoaction.cpp sidebar.cpp
+ squeezedcombobox.cpp filesaveoptionsbox.cpp dpopupmenu.cpp statuszoombar.cpp
+ statusnavigatebar.cpp statusprogressbar.cpp searchtextbar.cpp dcursortracker.cpp
+ paniconwidget.cpp previewwidget.cpp splashscreen.cpp statusled.cpp
+ LINK
+ tdecore-shared tdeui-shared
+)
+
+
+##### other files
+
+install(
+ FILES
+ histogramwidget.h colorgradientwidget.h curveswidget.h sidebar.h dlogoaction.h
+ squeezedcombobox.h dpopupmenu.h statuszoombar.h statusnavigatebar.h searchtextbar.h
+ statusprogressbar.h dcursortracker.h paniconwidget.h previewwidget.h statusled.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
+)
diff --git a/src/libs/widgets/common/dlogoaction.cpp b/src/libs/widgets/common/dlogoaction.cpp
index 60cfd77f..73bf4b7d 100644
--- a/src/libs/widgets/common/dlogoaction.cpp
+++ b/src/libs/widgets/common/dlogoaction.cpp
@@ -39,6 +39,7 @@
#include "daboutdata.h"
#include "dlogoaction.h"
+#include "dlogoaction.moc"
namespace Digikam
{