Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / icomms / CMakeLists.txt
1 foreach (example peer peer2 peer3)
2   add_executable       (${example}  ${example}.c)
3   target_link_libraries(${example}  simgrid)
4   set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/${example}.c)
5 endforeach()
6
7 ADD_TESH_FACTORIES(msg-icomms  "thread;ucontext;raw;boost" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)
8 ADD_TEST(msg-icomms-waitany    ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer3 ${CMAKE_HOME_DIRECTORY}/examples/platforms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer05.xml)
9
10 set(examples_src  ${examples_src}                                                     PARENT_SCOPE)
11 set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/peer.tesh              PARENT_SCOPE)
12 set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer.xml
13                                    ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer01.xml
14                                    ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer02.xml
15                                    ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer03.xml
16                                    ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer04.xml
17                                    ${CMAKE_CURRENT_SOURCE_DIR}/deployment_peer05.xml  PARENT_SCOPE)