Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a dot loader to have a connection with the random dag generator ggen.
[simgrid.git] / buildtools / Cmake / MakeExeLib.cmake
index 515aa44..0b0c526 100644 (file)
@@ -58,6 +58,10 @@ if(HAVE_LUA)
                          DEPENDS ${PROJECT_DIRECTORY}/examples/lua/simgrid.so)       
 endif(HAVE_LUA)
 
+if(HAVE_CGRAPH_H)
+       SET(SIMGRID_DEP "${SIMGRID_DEP} -lcgraph")
+endif(HAVE_CGRAPH_H)
+
 if(HAVE_GTNETS)
        SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
 endif(HAVE_GTNETS)
@@ -151,9 +155,10 @@ add_subdirectory(${PROJECT_DIRECTORY}/examples/amok/saturate)
 
 add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag)
 add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dax)
+add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dot)
 add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/metaxml)
 add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/properties)
 add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/scheduling)
 if(enable_smpi)
        add_subdirectory(${PROJECT_DIRECTORY}/examples/smpi)
-endif(enable_smpi)
\ No newline at end of file
+endif(enable_smpi)