Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Need to know if have smpi when compiling
authorNavarrop <Pierre.Navarro@imag.fr>
Mon, 28 Nov 2011 17:20:14 +0000 (18:20 +0100)
committerNavarrop <Pierre.Navarro@imag.fr>
Fri, 16 Dec 2011 15:58:01 +0000 (16:58 +0100)
buildtools/Cmake/CompleteInFiles.cmake
buildtools/Cmake/gras_config.h.in

index 1f422e1..8a03a12 100644 (file)
@@ -75,6 +75,9 @@ if(enable_gtnets)
 endif(enable_gtnets)
 if(enable_smpi)
        include(FindF2c)
+       if(HAVE_F2C_H)
+        SET(HAVE_SMPI 1)
+    endif(HAVE_F2C_H)
 endif(enable_smpi)
 if(enable_lua)
        include(FindLua51Simgrid)
index 9fa4ca4..73e4257 100644 (file)
 /* Indicates that we have GTNETS support */
 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
 
+/* Indicates that we have SMPI support */
+#cmakedefine HAVE_SMPI @HAVE_SMPI@
+
 /* Indicates that we have NS3 support */
 #cmakedefine HAVE_NS3 @HAVE_NS3@