Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
first commit to add the mpich-test suite to smpi tesh suite. Obviously all tests...
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
index a73dd99..4c72f69 100644 (file)
@@ -126,7 +126,12 @@ if(SMPI_F2C)
     ${SMPI_SRC}
     src/smpi/smpi_f77.c
     )
-endif(SMPI_F2C)
+else()
+  set(EXTRA_DIST
+    ${EXTRA_DIST}
+    src/smpi/smpi_f77.c
+  )
+endif()
 
 set(GRAS_RL_SRC
   ${XBT_RL_SRC}
@@ -198,7 +203,7 @@ if(HAVE_MMAP)
     ${XBT_SRC}
     src/xbt/mmalloc/mm.c
     )
-endif(HAVE_MMAP)
+endif()
 
 set(GTNETS_SRC
   src/surf/gtnets/gtnets_interface.cc
@@ -320,11 +325,11 @@ if(HAVE_GRAPHVIZ)
   set(SIMDAG_SRC
     ${SIMDAG_SRC} src/simdag/sd_dotloader.c
     )
-else(HAVE_GRAPHVIZ)
+else()
   set(EXTRA_DIST
     ${EXTRA_DIST} src/simdag/sd_dotloader.c
     )
-endif(HAVE_GRAPHVIZ)
+endif()
 
 set(GRAS_COMMON_SRC
   src/gras/Msg/gras_msg_exchange.c
@@ -504,38 +509,38 @@ if(${CONTEXT_THREADS}) #pthread
     src/simix/smx_context_thread.c
     src/xbt/xbt_os_thread.c
     )
-else(${CONTEXT_THREADS}) # NOT pthread
+else() # NOT pthread
   set(EXTRA_DIST
     ${EXTRA_DIST}
     src/simix/smx_context_thread.c
     src/xbt/xbt_os_thread.c
     )
-endif(${CONTEXT_THREADS})
+endif()
 
 if(${CONTEXT_UCONTEXT}) #ucontext
   set(SURF_SRC
     ${SURF_SRC}
     src/simix/smx_context_sysv.c
     )
-else(${CONTEXT_UCONTEXT}) # NOT ucontext
+else() # NOT ucontext
   set(EXTRA_DIST
     ${EXTRA_DIST}
     src/simix/smx_context_sysv.c
     )
-endif(${CONTEXT_UCONTEXT})
+endif()
 
 # -->HAVE_GTNETS
 if(HAVE_GTNETS)
   set(GTNETS_USED
     ${GTNETS_SRC}
     )
-else(HAVE_GTNETS)
+else()
   set(GTNETS_USED "")
   set(EXTRA_DIST
     ${EXTRA_DIST}
     ${GTNETS_SRC}
     )
-endif(HAVE_GTNETS)
+endif()
 
 ### Simgrid Lib sources
 set(simgrid_sources
@@ -558,14 +563,14 @@ if(HAVE_MC)
     ${simgrid_sources}
     ${MC_SRC}
     )
-endif(HAVE_MC)
+endif()
 
 if(HAVE_NS3)
   set(simgrid_sources
     ${simgrid_sources}
     ${NS3_SRC}
     )
-endif(HAVE_NS3)
+endif()
 
 # WINDOWS
 if(WIN32)
@@ -575,7 +580,7 @@ if(WIN32)
     src/xbt/win32_ucontext.c
     src/xbt/xbt_os_thread.c
     )
-endif(WIN32)
+endif()
 
 ### Gras Lib sources
 set(gras_sources
@@ -590,12 +595,12 @@ if(${HAVE_LUA})
     ${simgrid_sources}
     ${LUA_SRC}
     )
-else(${HAVE_LUA})
+else()
   set(EXTRA_DIST
     ${EXTRA_DIST}
     ${LUA_SRC}
     )
-endif(${HAVE_LUA})
+endif()
 
 set(DOC_SOURCES
   doc/amok_bw_sat.png
@@ -686,9 +691,58 @@ set(USER_GUIDE_SOURCES
   doc/user_guide/doxygen/use.doc
   doc/user_guide/doxygen/stylesheet.css
   )
+  
+set(LISTE_GTUT
+    doc/gtut-files/gtut-tour-00-install.doc
+    doc/gtut-files/gtut-tour-01-bones.doc
+    doc/gtut-files/gtut-tour-02-simple.doc
+    doc/gtut-files/gtut-tour-03-args.doc
+    doc/gtut-files/gtut-tour-04-callback.doc
+    doc/gtut-files/gtut-tour-05-globals.doc
+    doc/gtut-files/gtut-tour-06-logs.doc
+    doc/gtut-files/gtut-tour-07-timers.doc
+    doc/gtut-files/gtut-tour-08-exceptions.doc
+    doc/gtut-files/gtut-tour-09-simpledata.doc
+    doc/gtut-files/gtut-tour-10-rpc.doc
+    doc/gtut-files/gtut-tour-11-explicitwait.doc
+    doc/gtut-files/gtut-tour-12-staticstruct.doc
+    doc/gtut-files/gtut-tour-13-pointers.doc
+    doc/gtut-files/gtut-tour-14-dynar.doc
+    doc/gtut-files/gtut-tour-15-manualdatadef.doc
+    doc/gtut-files/gtut-tour-16-exchangecb.doc
+    doc/gtut-files/gtut-tour.doc
+    doc/gtut-files/gtut-tour-recap-messages.doc
+  )
 
+set(EXTRA_LISTE_GTUT
+    doc/gtut-files/01-bones.output
+    doc/gtut-files/02-simple.output
+    doc/gtut-files/03-args.output
+    doc/gtut-files/03-args.xml
+    doc/gtut-files/04-callback.output
+    doc/gtut-files/05-globals.output
+    doc/gtut-files/06-logs.output
+    doc/gtut-files/06-logs.output.error
+    doc/gtut-files/06-logs.output.fmt
+    doc/gtut-files/06-logs.output.fmt-bt
+    doc/gtut-files/06-logs.output.verbose
+    doc/gtut-files/07-timers.output
+    doc/gtut-files/08-exceptions.output
+    doc/gtut-files/09-simpledata.output
+    doc/gtut-files/10-rpc.output
+    doc/gtut-files/11-explicitwait.output
+    doc/gtut-files/11-explicitwait.xml
+    doc/gtut-files/gtut-howto-design.doc
+    doc/gtut-files/gtut-howto.doc
+    doc/gtut-files/gtut-introduction.doc
+    doc/gtut-files/gtut-main.doc
+    doc/gtut-files/gtut-platform-3nodes.xml
+    doc/gtut-files/gtut-platform.xml
+    doc/gtut-files/README
+    doc/gtut-files/test.xml
+    )
+  
 set(REF_GUIDE_SOURCES
-  doc/ref_guide/index-API.doc
   doc/ref_guide/doxygen/footer.html
   doc/ref_guide/doxygen/header.html
   doc/ref_guide/doxygen/main.doc
@@ -862,6 +916,11 @@ set(TESHSUITE_CMAKEFILES_TXT
   teshsuite/simdag/platforms/CMakeLists.txt
   teshsuite/xbt/CMakeLists.txt
   teshsuite/smpi/CMakeLists.txt
+  teshsuite/smpi/mpich-test/env/CMakeLists.txt
+  teshsuite/smpi/mpich-test/coll/CMakeLists.txt
+  teshsuite/smpi/mpich-test/context/CMakeLists.txt
+  teshsuite/smpi/mpich-test/profile/CMakeLists.txt
+  teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt
   )
 
 set(TOOLS_CMAKEFILES_TXT