X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a21b6634a89ef18ffdbde0607b410f8e59d169c3..b5b056ecea4299f405defca7f186c951043382f3:/buildtools/Cmake/Supernovae.cmake?ds=sidebyside diff --git a/buildtools/Cmake/Supernovae.cmake b/buildtools/Cmake/Supernovae.cmake index f3cee664a9..62499fed0a 100644 --- a/buildtools/Cmake/Supernovae.cmake +++ b/buildtools/Cmake/Supernovae.cmake @@ -61,7 +61,13 @@ if(enable_smpi) endif(enable_smpi) add_library(simgrid SHARED ${PROJECT_DIRECTORY}/src/supernovae_sg.c ${simgrid_fragile_sources}) + if(enable_lib_static) + add_library(simgrid_static STATIC ${PROJECT_DIRECTORY}/src/supernovae_sg.c ${simgrid_fragile_sources}) + endif(enable_lib_static) add_library(gras SHARED ${PROJECT_DIRECTORY}/src/supernovae_gras.c ${gras_fragile_sources}) if(enable_smpi) add_library(smpi SHARED ${PROJECT_DIRECTORY}/src/supernovae_smpi.c) + if(enable_lib_static) + add_library(smpi_static STATIC ${PROJECT_DIRECTORY}/src/supernovae_smpi.c) + endif(enable_lib_static) endif(enable_smpi)