X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e14e11a710ba64989953c40e5e46905650c172f1..b94feec8105a488e5d6b68756bd3110017df51c3:/buildtools/Cmake/MakeExeLib.cmake?ds=sidebyside diff --git a/buildtools/Cmake/MakeExeLib.cmake b/buildtools/Cmake/MakeExeLib.cmake index 9b966848c3..515aa443a0 100644 --- a/buildtools/Cmake/MakeExeLib.cmake +++ b/buildtools/Cmake/MakeExeLib.cmake @@ -3,9 +3,9 @@ if(enable_supernovae) include(${PROJECT_DIRECTORY}/buildtools/Cmake/Supernovae.cmake) else(enable_supernovae) - add_library(simgrid SHARED ${simgrid_sources} ${PROJECT_DIRECTORY}/include/xbt/graphxml.h) - add_library(simgrid_static STATIC ${simgrid_sources} ${PROJECT_DIRECTORY}/include/xbt/graphxml.h) - add_library(gras SHARED ${gras_sources} ${PROJECT_DIRECTORY}/include/xbt/graphxml.h) + add_library(simgrid SHARED ${simgrid_sources}) + add_library(simgrid_static STATIC ${simgrid_sources}) + add_library(gras SHARED ${gras_sources}) if(enable_smpi) add_library(smpi SHARED ${SMPI_SRC}) endif(enable_smpi) @@ -71,6 +71,10 @@ target_link_libraries(simgrid ${SIMGRID_DEP}) target_link_libraries(simgrid_static ${SIMGRID_DEP}) target_link_libraries(gras ${GRAS_DEP}) +add_dependencies(gras maintainer_files) +add_dependencies(simgrid maintainer_files) +add_dependencies(simgrid_static maintainer_files) + if(enable_smpi) target_link_libraries(smpi simgrid ${SMPI_DEP}) endif(enable_smpi)