all: optimize build

This commit is contained in:
outfoxxed 2024-11-05 04:15:17 -08:00
parent 1168879d6d
commit 7ffce72b31
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
51 changed files with 1526 additions and 1277 deletions

23
src/launch/CMakeLists.txt Normal file
View file

@ -0,0 +1,23 @@
find_package(CLI11 CONFIG REQUIRED)
qt_add_library(quickshell-launch STATIC
parsecommand.cpp
command.cpp
launch.cpp
main.cpp
)
target_link_libraries(quickshell-launch PRIVATE
Qt::Quick Qt::Widgets CLI11::CLI11 quickshell-build
)
qs_add_pchset(launch
DEPENDENCIES Qt::Core CLI11::CLI11
HEADERS
<CLI/App.hpp>
<qcoreapplication.h>
)
qs_pch(quickshell-launch SET launch)
target_link_libraries(quickshell PRIVATE quickshell-launch)