22 lines
564 B
Makefile
Raw Normal View History

default: build
2025-12-17 12:15:17 +01:00
configure:
2025-12-18 11:47:59 +01:00
cmake -S . -B build -G Ninja \
${LOGOS_CORE_ROOT:+-DLOGOS_CORE_ROOT="$LOGOS_CORE_ROOT"} \
${LOGOS_BLOCKCHAIN_LIB:+-DLOGOS_BLOCKCHAIN_LIB="$LOGOS_BLOCKCHAIN_LIB"} \
${LOGOS_BLOCKCHAIN_INCLUDE:+-DLOGOS_BLOCKCHAIN_INCLUDE="$LOGOS_BLOCKCHAIN_INCLUDE"}
2025-12-17 12:15:17 +01:00
build: configure
2025-12-19 15:53:41 +01:00
cmake --build build --parallel --target liblogos-blockchain-module
2025-12-17 12:15:17 +01:00
clean:
rm -rf build target
rebuild: clean configure build
2025-12-20 09:08:46 +01:00
nix:
nix develop
unicode-logs file:
perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex($1))/ge' {{file}} | less -R