Skip to content

Commit ee79610

Browse files
committed
add
1 parent 2f30ab1 commit ee79610

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

build.sh

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
#!/bin/bash
22

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-
133
rm -rf build
14-
mkdir build
4+
mkdir -p build
155
pushd build
16-
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo ..
6+
7+
# -DCMAKE_EXPORT_COMPILE_COMMANDS=ON option is implemented only by Makefile Generators and Ninja Generators.
8+
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
179
cmake --build . --config relwithdebinfo -- -j$(nproc)
1810
popd
1911

0 commit comments

Comments
 (0)