summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDavi Ribeiro <104164579+Markus328@users.noreply.github.com>2025-08-29 01:07:47 -0300
committerGitHub <noreply@github.com>2025-08-29 14:07:47 +1000
commitb648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1 (patch)
tree4782f00bfd90b636231c77124d196446514f2be3 /CMakeLists.txt
parentci: no cpack (diff)
downloadcaelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.tar.gz
caelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.tar.bz2
caelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.zip
nix: better nix develop + refactor (#490)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a29625f..513e9de 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,8 +26,13 @@ set(INSTALL_QSCONFDIR "etc/xdg/quickshell/caelestia" CACHE STRING "Quickshell co
add_compile_options(-Wall -Wextra)
-add_subdirectory(assets/cpp)
-add_subdirectory(plugin)
+if(NOT DONT_BUILD_ASSETS)
+ add_subdirectory(assets/cpp)
+endif()
+
+if(NOT DONT_BUILD_PLUGIN)
+ add_subdirectory(plugin)
+endif()
foreach(dir assets components config modules services utils)
install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}")