mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
392 B
14 lines
392 B
#!/bin/bash |
|
|
|
if [ "${cmake_command}" == "" ]; then |
|
cmake_command="scan-build cmake .." |
|
fi |
|
|
|
if [ "${make_command}" == "" ]; then |
|
make_command="scan-build --status-bugs make -j 2" |
|
fi |
|
|
|
cd libclangmm || echo "Can't cd into libclangmm" |
|
mkdir -p build && cd build || echo "Error making build directory" |
|
sh -c "${cmake_command}" || echo "Cmake configuration failed" |
|
exec sh -c "${make_command}"
|
|
|