mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 01:26:46 +00:00
16 lines
465 B
Bash
16 lines
465 B
Bash
if has nix; then
|
|
use flake
|
|
fi
|
|
|
|
shopt -s globstar
|
|
watch_file assets/cpp/**/*.cpp
|
|
watch_file assets/cpp/**/*.hpp
|
|
watch_file plugin/**/*.cpp
|
|
watch_file plugin/**/*.hpp
|
|
watch_file **/CMakeLists.txt
|
|
|
|
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_COMPILER=clazy -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISTRIBUTOR=direnv
|
|
cmake --build build
|
|
export CAELESTIA_LIB_DIR="$PWD/build/lib"
|
|
export QML2_IMPORT_PATH="$PWD/build/qml:${QML2_IMPORT_PATH:-}"
|