- if [ $? -ne 0 ] ; then
- echo "Failed to perform the Cmake for $build_mode - Halting"
- exit 5
- fi
-
- make -j$NUMBER_OF_PROCESSORS
-
- if [ $? -ne 0 ] ; then
- echo "Build failure - Halting"
- exit 5
- fi
-
- make nsis
-
- if [ $? -ne 0 ] ; then
- echo "Failure while generating the Windows executable - Halting"
- exit 6
- fi