mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-02-20 04:53:10 +00:00
* Move config to configs dir. * wip * wip * junie refactor cmakelists and flake * Refactor Nix, CMakeLists and codebase to enable proper nix building, and good IDE integration. * Add src/ directory. * Split into header and source files. * Fix macOs SSL certs issue. * Mac fixes * Update Macos lib extension --------- Co-authored-by: Daniel <sanchez.quiros.daniel@gmail.com>
22 lines
564 B
Makefile
22 lines
564 B
Makefile
default: build
|
|
|
|
configure:
|
|
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"}
|
|
|
|
build: configure
|
|
cmake --build build --parallel --target liblogos-blockchain-module
|
|
|
|
clean:
|
|
rm -rf build target
|
|
|
|
rebuild: clean configure build
|
|
|
|
nix:
|
|
nix develop
|
|
|
|
unicode-logs file:
|
|
perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex($1))/ge' {{file}} | less -R
|