set(GRAS_DEP "pthread")
set(SIMGRID_DEP "")
+set(SMPI_DEP "")
+
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
set(SIMGRID_DEP "-D_XOPEN_SOURCE")
endif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
SET(SIMGRID_DEP_GTNETS "gtnets ")
endif(HAVE_GTNETS)
-message("SIMGRID_DEP \"${SIMGRID_DEP}\"")
-message("GRAS_DEP \"${GRAS_DEP}\"")
-
### Add definitions for compile
-set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage")
+#set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage")
+#set(CMAKE_C_FLAGS "-fprofile-arcs -ftest-coverage")
+
add_definitions (${INCLUDES} -fprofile-arcs -ftest-coverage)
target_link_libraries(simgrid ${SIMGRID_DEP} ${SIMGRID_DEP_GTNETS}-fprofile-arcs)
target_link_libraries(gras ${GRAS_DEP} -fprofile-arcs)