Skip to content

Commit

Permalink
* Adding option to cmake.sh for g++ (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
jredmondson committed Jan 1, 2024
1 parent 0514862 commit b2d4db3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/linux/cmake.sh
Expand Up @@ -23,6 +23,10 @@ do
elif [ "$var" = "clean" ] || [ "$var" = "CLEAN" ]; then
echo " Cleaning build..."
CLEAN=1
elif [ "$var" = "gcc" ] || [ "$var" = "g++" ]; then
echo " Using g++ for compilation..."
C_COMPILER='gcc'
CPP_COMPILER='g++'
elif [ "$var" = "mac" ] || [ "$var" = "MAC" ]; then
echo " Configuring for MacOS..."
MAC=1
Expand All @@ -44,6 +48,7 @@ do
echo " clang build using clang++ and clang"
echo " clean run 'make clean' before builds (default)"
echo " docs generate API documentation"
echo " gcc use gcc/g++"
echo " tests build test executables"
echo " ssl build with SSL support"
echo ""
Expand Down

0 comments on commit b2d4db3

Please sign in to comment.