2026-02-03 18:12:53 +01:00
|
|
|
default: build
|
|
|
|
|
|
|
|
|
|
configure:
|
|
|
|
|
cmake -S . -B build -G Ninja \
|
|
|
|
|
${LOGOS_CORE_ROOT:+-DLOGOS_CORE_ROOT="$LOGOS_CORE_ROOT"} \
|
2026-06-30 13:30:42 +03:00
|
|
|
${LEZ_CORE_LIB:+-DLEZ_CORE_LIB="$LEZ_CORE_LIB"} \
|
|
|
|
|
${LEZ_CORE_INCLUDE:+-DLEZ_CORE_INCLUDE="$LEZ_CORE_INCLUDE"}
|
2026-02-03 18:12:53 +01:00
|
|
|
|
|
|
|
|
build: configure
|
2026-06-30 13:30:42 +03:00
|
|
|
cmake --build build --parallel --target lez_core_module_plugin
|
2026-02-03 18:12:53 +01:00
|
|
|
|
|
|
|
|
clean:
|
2026-02-16 16:57:21 +01:00
|
|
|
rm -rf build result
|
2026-02-03 18:12:53 +01:00
|
|
|
|
2026-02-16 16:57:21 +01:00
|
|
|
rebuild: clean build
|
2026-02-03 18:12:53 +01:00
|
|
|
|
|
|
|
|
nix:
|
|
|
|
|
nix develop
|
|
|
|
|
|
2026-02-16 16:24:18 +01:00
|
|
|
prettify:
|
|
|
|
|
nix shell nixpkgs#clang-tools -c clang-format -i src/**.cpp src/**.h
|
|
|
|
|
|
2026-02-03 18:12:53 +01:00
|
|
|
unicode-logs file:
|
|
|
|
|
perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex($1))/ge' {{file}} | less -R
|