message: Add a new argument, -d, to the build script. When specified, this argument will build in debug configuration.
diff: @@ -4,8 +4,9 @@ usage() { echo "$0 usage:" && grep " .)\ #" $0; exit 0; }
  CLEAN=1
  JOBS=""
  +BUILD_TYPE="RelWithDebInfo"
  -while getopts ":hcj:" o; do
  +while getopts "hcj:d" o; do
  case "${o}" in
  c) # Clean build - remove Binaries and re-execute cmake
  CLEAN=0
  @@ -13,6 +14,9 @@ while getopts ":hcj:" o; do
  j) # Concurrent job count for the make command
  JOBS="-j $OPTARG"
  ;;
  + d) # Build debug configuration
  + BUILD_TYPE="Debug"
  + ;;
  h | *) # Display help
  usage
  exit 0
  @@ -39,7 +43,7 @@ fi
  mkdir ./build-nwnx
  pushd ./build-nwnx
  -cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo ..
  +cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE ..
  make ${JOBS} all
  