3 add_library(simgrid SHARED ${simgrid_sources})
6 set_target_properties(simgrid PROPERTIES
7 COMPILE_FLAGS "/D_XBT_DLL_EXPORT /DDLL_EXPORT"
8 VERSION ${libsimgrid_version} )
10 set_target_properties(simgrid PROPERTIES
11 COMPILE_FLAGS "-D_XBT_DLL_EXPORT -DDLL_EXPORT"
13 VERSION ${libsimgrid_version}
14 PREFIX "lib" SUFFIX ".dll"
15 IMPORT_PREFIX "lib" IMPORT_SUFFIX ".dll")
17 set(SIMGRID_DEP "-lm")
20 set(SIMGRID_DEP "${SIMGRID_DEP} -lpthread")
24 target_link_libraries(simgrid ${SIMGRID_DEP})