mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-10-06 03:57:07 -04:00
refactor: Move UI controls to own lib
This commit is contained in:
23
UIControls/CMakeLists.txt
Normal file
23
UIControls/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
qt_add_library(QodeAssistUIControls STATIC)
|
||||
|
||||
qt_policy(SET QTP0001 NEW)
|
||||
qt_policy(SET QTP0004 NEW)
|
||||
|
||||
qt_add_qml_module(QodeAssistUIControls
|
||||
URI UIControls
|
||||
VERSION 1.0
|
||||
DEPENDENCIES QtQuick
|
||||
QML_FILES
|
||||
qml/Badge.qml
|
||||
qml/QoAButton.qml
|
||||
)
|
||||
|
||||
target_link_libraries(QodeAssistUIControls
|
||||
PRIVATE
|
||||
Qt6::Core
|
||||
Qt6::Quick
|
||||
)
|
||||
|
||||
target_include_directories(QodeAssistUIControls
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
Reference in New Issue
Block a user