We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c284e9 commit 27b5ae4Copy full SHA for 27b5ae4
1 file changed
doit
@@ -0,0 +1,35 @@
1
+declare -r SRCDIR="${r3}/MemoryModulePP"
2
+declare -r BUILDDIR="${SRCDIR}/build"
3
+declare -r INSTALLDIR="i:/af/ports/vs17-64/memorymodulepp"
4
+
5
+# rm -rf ${BUILD}
6
7
+declare meth="vs"
8
+if [ "${meth}" = 'ninja' ] ; then
9
+ declare -a CMD=(
10
+ cmake -GNinja -Wno-dev
11
+ -DCMAKE_INSTALL_PREFIX="${INSTALLDIR}"
12
+ -B "${BUILDDIR}"
13
+ -S "${SRCDIR}"
14
+ )
15
+ "${CMD[@]}"
16
17
+ # build
18
+ cd ${BUILDDIR}
19
+ ninja
20
21
+ # run
22
+ declare -r PROG="${BUILDDIR}/test/MemoryModulePP.exe"
23
+ if [ -f ${PROG} ] ; then
24
+ echo "done"
25
+ ${PROG}
26
+ fi
27
+else
28
29
+ cmake -G "Visual Studio 17 2022" -A 'x64' -Wno-dev
30
31
32
33
34
35
+fi
0 commit comments