We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f30ab1 commit ee79610Copy full SHA for ee79610
build.sh
@@ -1,19 +1,11 @@
1
#!/bin/bash
2
3
-# - install depends tools
4
-# yum -y install git
5
-# yum -y install gcc gcc-c++ autoconf libtool automake make
6
-#
7
-
8
-# pushd thirdparty/depends_path
9
-# libtoolize && aclocal && autoheader && autoconf && automake --add-missing
10
-# sh configure
11
-# popd
12
13
rm -rf build
14
-mkdir build
+mkdir -p build
15
pushd build
16
-cmake -DCMAKE_BUILD_TYPE=relwithdebinfo ..
+
+# -DCMAKE_EXPORT_COMPILE_COMMANDS=ON option is implemented only by Makefile Generators and Ninja Generators.
+cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
17
cmake --build . --config relwithdebinfo -- -j$(nproc)
18
popd
19
0 commit comments