31 lines
979 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
test -n "${LOGOS_CPP_SDK_ROOT}" || (echo "LOGOS_CPP_SDK_ROOT not set" && exit 1)
test -n "${LOGOS_BLOCKCHAIN_ROOT}" || (echo "LOGOS_BLOCKCHAIN_ROOT not set" && exit 1)
cmake -S . -B build -G Ninja \
-DUNTITLED_USE_QT=ON \
-DLOGOS_CPP_SDK_ROOT="${LOGOS_CPP_SDK_ROOT}" \
-DLOGOS_BLOCKCHAIN_ROOT="${LOGOS_BLOCKCHAIN_ROOT}" \
-DCOPY_PLUGIN_TO_SOURCE_DIR=ON
2025-12-17 12:15:17 +01:00
build:
cmake --build build --parallel --target blockchainmodulelib
update:
rm -rf build/logos_blockchain_src
rm -f build/logos_blockchain_src/.staged
rm -rf build/logos_stage
cmake --build build --parallel --target logos_blockchain_stage
cmake --build build --parallel --target logos_cargo_build
just build
2025-12-17 17:10:59 +01:00
2025-12-17 12:15:17 +01:00
clean:
2025-12-18 11:47:59 +01:00
rm -rf build
rm -f libblockchainmodulelib.so
rebuild: clean configure build
run:
../logos-module-viewer/result/bin/logos-module-viewer --module libblockchainmodulelib.so > libblockchainmodulelib.log 2>&1