21 lines
592 B
Bash
Executable File
21 lines
592 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script exists only to make it as easy as possible for
|
|
# users to compile ppavc.
|
|
|
|
mkdir ./build 2>/dev/zero
|
|
cd ./build
|
|
cmake ..
|
|
|
|
cmake_result=$?
|
|
|
|
if [ $cmake_result -eq 0 ]
|
|
then
|
|
echo "CMake went fine! You may start compilation now by running 'make' in the subdirectory 'build'."
|
|
elif [ $cmake_result -eq 127 ]
|
|
then
|
|
echo "CMake is not installed! Please install the cmake package on your system to continue building ppavc."
|
|
else
|
|
echo "CMake exited with an error. Please check if your system meets the requirements for ppavc and that the CMakeLists.txt file is valid."
|
|
fi
|