From: navarrop Date: Thu, 15 Apr 2010 14:57:48 +0000 (+0000) Subject: Add gras_stub_generator dependencies for some targets. X-Git-Tag: SVN~141 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5311e400505dab190f66b60757cacdb6a0a018cf Add gras_stub_generator dependencies for some targets. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7600 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/src/CMakeMakeExeLib.txt b/buildtools/Cmake/src/CMakeMakeExeLib.txt index 4eb4c12423..42111c1ff2 100644 --- a/buildtools/Cmake/src/CMakeMakeExeLib.txt +++ b/buildtools/Cmake/src/CMakeMakeExeLib.txt @@ -172,4 +172,51 @@ file(APPEND ${PROJECT_DIRECTORY}/make_simgrid_java.sh "${JAVA_COMPILE} -d ${PROJ endif(HAVE_JAVA) - +set(targets_depended_of_gras_stub_generator +ping_client +ping_server +ping_simulator +rpc_client +rpc_forwarder +rpc_server +rpc_simulator +spawn_child +spawn_father +spawn_simulator +timer_client +timer_simulator +chrono_multiplier +chrono_simulator +simple_token_node +simple_token_simulator +mmrpc_client +mmrpc_server +mmrpc_simulator +all2all_receiver +all2all_sender +all2all_simulator +pmm_master +pmm_simulator +pmm_slave +synchro_philosopher +synchro_simulator +properties_alice +properties_bob +properties_simulator +msg_handle_client +msg_handle_server +msg_handle_simulator +empty_main_function +empty_main_simulator +small_sleep_function +small_sleep_simulator +bandwidth_maestro +bandwidth_sensor +bandwidth_simulator +saturate_maestro +saturate_sensor +saturate_simulator +) +foreach(file ${targets_depended_of_gras_stub_generator}) + add_dependencies(${file} gras_stub_generator) +endforeach(file ${targets_depended_of_gras_stub_generator})