add_dependencies(simgrid maintainer_files)
if(enable_model-checking)
- add_custom_target(tests-mc COMMENT "Recompiling the MC tests and tools.")
- add_dependencies(tests tests-mc)
-
add_executable(simgrid-mc ${MC_SIMGRID_MC_SRC})
target_link_libraries(simgrid-mc simgrid)
set_target_properties(simgrid-mc
ADD_CUSTOM_TARGET(link_simgrid_lua ALL
DEPENDS simgrid
)
- SET(SIMGRID_DEP "${SIMGRID_DEP} ${LUA_LIBRARY} ${DL_LIBRARY}")
+ SET(SIMGRID_DEP "${SIMGRID_DEP} ${LUA_LIBRARY}")
endif()
if(HAVE_PAPI)
endif()
endif()
-if(SIMGRID_HAVE_MC AND NOT ${DL_LIBRARY} STREQUAL "")
+if(NOT ${DL_LIBRARY} STREQUAL "")
SET(SIMGRID_DEP "${SIMGRID_DEP} ${DL_LIBRARY}")
endif()
##################################
if(enable_smpi)
- if(NOT ${DL_LIBRARY} STREQUAL "")
- set(SIMGRID_DEP "${SIMGRID_DEP} ${DL_LIBRARY}") # for privatization
- endif()
-
add_executable(smpimain src/smpi/smpi_main.c)
target_link_libraries(smpimain simgrid)
set_target_properties(smpimain