Invalidate C++ app

master
Fabien Freling 2019-07-12 14:06:55 +02:00
parent 6eb0e61426
commit fda60ba538
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,7 @@ BUILD:=_build
core:
dune build src/core/cbindings.exe.o
ar -rs $(BUILD)/liboboycore.a _build/default/src/core/cbindings.exe.o
scripts/invalidate_cpp.sh
# check:
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --

9
scripts/invalidate_cpp.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
for dir in _build/qt/*; do
pushd $dir
cmake --build . --target clean
popd
done