forked from quickshell/quickshell
build: improve parallelism by removing core dependency on modules
This commit is contained in:
parent
c44041653c
commit
9f6ef37f61
7 changed files with 29 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
qt_add_executable(quickshell
|
||||
qt_add_library(quickshell-core STATIC
|
||||
main.cpp
|
||||
plugin.cpp
|
||||
shell.cpp
|
||||
|
@ -19,10 +19,12 @@ qt_add_executable(quickshell
|
|||
)
|
||||
|
||||
set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS GIT_REVISION="${GIT_REVISION}")
|
||||
qt_add_qml_module(quickshell URI Quickshell VERSION 0.1)
|
||||
qt_add_qml_module(quickshell-core URI Quickshell VERSION 0.1)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE ${QT_DEPS})
|
||||
qs_pch(quickshell)
|
||||
target_link_libraries(quickshell-core PRIVATE ${QT_DEPS})
|
||||
qs_pch(quickshell-core)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-coreplugin)
|
||||
|
||||
if (BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue