Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add gras_stub_generator dependencies for some targets.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 15 Apr 2010 14:57:48 +0000 (14:57 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 15 Apr 2010 14:57:48 +0000 (14:57 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7600 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/src/CMakeMakeExeLib.txt

index 4eb4c12..42111c1 100644 (file)
@@ -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})