Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add an option to get the compiler version, change the manpages accordingly
[simgrid.git] / src / smpi / smpicxx.in
index 5bd4b1a..b23a274 100755 (executable)
@@ -42,10 +42,13 @@ while [ $# -gt 0 ]; do
             fi
             list_add CMDARGS "${SRCFILE}"
             ;;
-        "-version" | "--version" | "-v")
+        '-version' | '--version')
             printf '%b\n' "$SIMGRID_VERSION"
             exit 0
             ;;
+        '-compiler-version' | '--compiler-version')
+            ${CXX} --version
+            ;;
         *)
             list_add CMDARGS "${ARG}"
       ;;