diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-26 23:52:17 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-26 23:52:17 +1000 |
| commit | 01d7f69551966b7a317393fffeebdf5775d6df12 (patch) | |
| tree | 01c8007b282334a6cfdb47b4967c98ccaf49aee6 /CMakeLists.txt | |
| parent | internal: use systemd-inhibit (diff) | |
| download | caelestia-shell-01d7f69551966b7a317393fffeebdf5775d6df12.tar.gz caelestia-shell-01d7f69551966b7a317393fffeebdf5775d6df12.tar.bz2 caelestia-shell-01d7f69551966b7a317393fffeebdf5775d6df12.zip | |
internal: build via cmake
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..84f909d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,18 @@ +cmake_minimum_required(VERSION 3.19) +project(caelestia-shell VERSION "0.0.1") + +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(INSTALL_LIBDIR "/usr/lib/caelestia" CACHE STRING "Library install dir") +set(INSTALL_QMLDIR "/usr/lib/qt6/qml" CACHE STRING "QML install dir") +set(INSTALL_QSCONFDIR "/etc/xdg/quickshell/caelestia" CACHE STRING "Quickshell config install dir") + +add_compile_options(-Wall -Wextra) + +add_subdirectory(assets/cpp) +add_subdirectory(plugin) + +foreach(dir assets components config modules services utils) + install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}") +endforeach() +install(FILES shell.qml LICENSE DESTINATION "${INSTALL_QSCONFDIR}") |