mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[CONFIGURE] Make configure.sh print out an error when CMake fails
This commit is contained in:
parent
a0235bf877
commit
14fbe80c4a
1 changed files with 4 additions and 0 deletions
|
@ -50,5 +50,9 @@ echo Preparing reactos...
|
||||||
rm -f CMakeCache.txt host-tools/CMakeCache.txt
|
rm -f CMakeCache.txt host-tools/CMakeCache.txt
|
||||||
|
|
||||||
cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake -DARCH:STRING=$ARCH $EXTRA_ARGS $ROS_CMAKEOPTS "$REACTOS_SOURCE_DIR"
|
cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake -DARCH:STRING=$ARCH $EXTRA_ARGS $ROS_CMAKEOPTS "$REACTOS_SOURCE_DIR"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "An error occured while configuring ReactOS"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo Configure script complete! Enter directories and execute appropriate build commands \(ex: ninja, make, makex, etc...\).
|
echo Configure script complete! Enter directories and execute appropriate build commands \(ex: ninja, make, makex, etc...\).
|
||||||
|
|
Loading…
Reference in a new issue