fi
if [ "x@WIN32@" = "x1" ]; then
- list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_main.h"
+ list_add CXXFLAGS "-include" "\"@includedir@/smpi/smpi_main.h\""
list_add LINKARGS "@libdir@\libsimgrid.dll"
elif [ "x@APPLE@" = "x1" ]; then
list_add CXXFLAGS "-fPIC"
if [ "x${SMPI_PRETEND_CC}" = "x" ]; then
- list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_helpers.h"
+ list_add CXXFLAGS "-include" "\"@includedir@/smpi/smpi_helpers.h\""
list_add LINKARGS "-shared"
else
echo "Warning: smpicc pretends to be a regular compiler (SMPI_PRETEND_CC is set). Produced binaries will not be usable in SimGrid."
else
list_add CXXFLAGS "-fPIC"
if [ "x${SMPI_PRETEND_CC}" = "x" ]; then
- list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_helpers.h"
+ list_add CXXFLAGS "-include" "\"@includedir@/smpi/smpi_helpers.h\""
list_add LINKARGS "-shared"
else
echo "Warning: smpicc pretends to be a regular compiler (SMPI_PRETEND_CC is set). Produced binaries will not be usable in SimGrid."
if [ -z "$SRCFILE" ] ; then
SRCFILE="$ARG"
fi
- list_add CMDARGS "${SRCFILE}"
+ list_add CMDARGS "\"${SRCFILE}\""
;;
'-version' | '--version')
printf '%b\n' "$SIMGRID_VERSION"
echo "$@"
[ "x$show" = x1 ] && exit 0
fi
-"$@"
+eval "$@"