forked from quickshell/quickshell
all: optimize build
This commit is contained in:
parent
1168879d6d
commit
7ffce72b31
51 changed files with 1526 additions and 1277 deletions
|
@ -1,5 +1,3 @@
|
|||
find_package(CLI11 CONFIG REQUIRED)
|
||||
|
||||
qt_add_library(quickshell-core STATIC
|
||||
plugin.cpp
|
||||
shell.cpp
|
||||
|
@ -37,10 +35,9 @@ qt_add_library(quickshell-core STATIC
|
|||
paths.cpp
|
||||
instanceinfo.cpp
|
||||
common.cpp
|
||||
iconprovider.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(quickshell-core PRIVATE quickshell-build)
|
||||
|
||||
qt_add_qml_module(quickshell-core
|
||||
URI Quickshell
|
||||
VERSION 0.1
|
||||
|
@ -51,10 +48,9 @@ qt_add_qml_module(quickshell-core
|
|||
|
||||
install_qml_module(quickshell-core)
|
||||
|
||||
target_link_libraries(quickshell-core PRIVATE ${QT_DEPS} CLI11::CLI11)
|
||||
target_link_libraries(quickshell-core PRIVATE Qt::Quick Qt::Widgets)
|
||||
|
||||
qs_pch(quickshell-core)
|
||||
qs_pch(quickshell-coreplugin)
|
||||
qs_module_pch(quickshell-core SET large)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-coreplugin)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue