summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSoramane <61896496+soramanew@users.noreply.github.com>2025-08-29 15:30:09 +1000
committerSoramane <61896496+soramanew@users.noreply.github.com>2025-08-29 15:30:09 +1000
commitbe5748dff333adc6ec1180ada68fce58e9798af0 (patch)
treee8ed10d7eb1785711e4d2ecc97c5736e84c23f7d /CMakeLists.txt
parentlib: add version script (diff)
downloadcaelestia-shell-be5748dff333adc6ec1180ada68fce58e9798af0.tar.gz
caelestia-shell-be5748dff333adc6ec1180ada68fce58e9798af0.tar.bz2
caelestia-shell-be5748dff333adc6ec1180ada68fce58e9798af0.zip
nix: fix + expose lib stuff
Also format
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a814315..14f498b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,15 +39,17 @@ set(INSTALL_QSCONFDIR "etc/xdg/quickshell/caelestia" CACHE STRING "Quickshell co
add_compile_options(-Wall -Wextra)
-if(NOT DONT_BUILD_ASSETS)
+if(NOT DONT_BUILD_ASSETS AND NOT PLUGIN_ONLY AND NOT SHELL_ONLY)
add_subdirectory(assets/cpp)
endif()
-if(NOT DONT_BUILD_PLUGIN)
+if(NOT DONT_BUILD_PLUGIN AND NOT ASSETS_ONLY AND NOT SHELL_ONLY)
add_subdirectory(plugin)
endif()
-foreach(dir assets components config modules services utils)
- install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}")
-endforeach()
-install(FILES shell.qml LICENSE DESTINATION "${INSTALL_QSCONFDIR}")
+if(NOT DONT_BUILD_SHELL AND NOT ASSETS_ONLY AND NOT PLUGIN_ONLY)
+ foreach(dir assets components config modules services utils)
+ install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}")
+ endforeach()
+ install(FILES shell.qml LICENSE DESTINATION "${INSTALL_QSCONFDIR}")
+endif()