summaryrefslogtreecommitdiffstats
path: root/lib/kopainter/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-09-30 00:04:56 +0300
committerPhilippe Mavridis <philippe.mavridis@yandex.com>2025-05-15 21:00:25 +0300
commit04e86613f67d171cc965fce64a4310c0d25c98e1 (patch)
tree08a85d43bc40568f94259601339ccd7e1de11773 /lib/kopainter/CMakeLists.txt
parentcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff)
downloadkoffice-feat/cmake-port.tar.gz
koffice-feat/cmake-port.zip
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
Diffstat (limited to 'lib/kopainter/CMakeLists.txt')
-rw-r--r--lib/kopainter/CMakeLists.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/kopainter/CMakeLists.txt b/lib/kopainter/CMakeLists.txt
new file mode 100644
index 000000000..0bb476ce7
--- /dev/null
+++ b/lib/kopainter/CMakeLists.txt
@@ -0,0 +1,33 @@
+###############################################################################
+# Trinity KOffice #
+# --------------- #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+###############################################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/kofficecore
+ ${CMAKE_SOURCE_DIR}/lib/kofficeui
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+### Libraries #################################################################
+tde_add_library(kopainter SHARED AUTOMOC
+ SOURCES
+ svgpathparser.cpp koColor.cpp koFrameButton.cpp koColorSlider.cpp
+ koColorChooser.cpp koIconChooser.cpp kogradientmanager.cpp
+ ko_color_wheel.cpp ko_gray_widget.cpp ko_hsv_widget.cpp
+ ko_rgb_widget.cpp ko_cmyk_widget.cpp
+ LINK kofficeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file