-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
37 lines (33 loc) · 898 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
qt_standard_project_setup(REQUIRES 6.8)
qt_add_library(ColorPicker STATIC)
qt_add_qml_module(ColorPicker
URI ColorPicker
VERSION 1.0
RESOURCE_PREFIX /colorpicker/qml
DEPENDENCIES
Origin.Controls
IMPORTS
QtQuick.Controls.Basic
QML_FILES
ColorPickerDialog.qml
ColorSampler.qml
ColorHistory.qml
ColorSlider.qml
RGBSlider.qml
HSVSlider.qml
SOURCES
colorPickerBackend.h colorPickerBackend.cpp
colorwheel.h colorwheel.cpp
colorhistorymodel.h colorhistorymodel.cpp
eyedropPreview.h eyedropPreview.cpp
textfielddoublevalidator.h textfielddoublevalidator.cpp
RESOURCES
assets/eyedropper.svg
assets/alphaBackground.png
)
set_target_properties(ColorPicker PROPERTIES AUTOMOC ON)
target_link_libraries(ColorPicker
PRIVATE
Qt6::Quick
Origin
)