projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547ed1e
)
[scripts] add build_cmake
author
Paul Brossier
<piem@piem.org>
Sat, 6 Jan 2024 17:35:07 +0000
(18:35 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 15 Nov 2025 09:42:52 +0000
(10:42 +0100)
scripts/build_cmake
[new file with mode: 0755]
patch
|
blob
diff --git a/scripts/build_cmake
b/scripts/build_cmake
new file mode 100755
(executable)
index 0000000..
eddbe74
--- /dev/null
+++ b/
scripts/build_cmake
@@ -0,0
+1,16
@@
+#! /bin/sh
+
+AUBIO_BUILDDIR=$PWD/build-cmake
+#CMAKE_OPTS="-j 40"
+
+function cleanup () {
+ rm -rf $AUBIO_BUILDDIR
+}
+
+trap cleanup SIGINT SIGTERM
+
+cleanup
+
+cmake . -B $AUBIO_BUILDDIR
+VERBOSE=1 cmake --build $AUBIO_BUILDDIR $CMAKE_OPTS || exit $?
+make -C $AUBIO_BUILDDIR test $CMAKE_OPTS