Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill that example
[simgrid.git] / examples / simdag / dot / CMakeLists.txt
1 if(HAVE_GRAPHVIZ)
2   foreach(x dot_test ptg_test simulate_dot)
3     add_executable       (${x}     ${x}.c)
4     target_link_libraries(${x}     simgrid)
5     set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.c)
6   endforeach()
7
8   ADD_TESH(simdag-dotload --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/simdag/dot --cd ${CMAKE_BINARY_DIR}/examples/simdag/dot ${CMAKE_HOME_DIRECTORY}/examples/simdag/dot/test_simdag_dotload.tesh)
9 endif()
10
11 set(examples_src ${examples_src}                                                          PARENT_SCOPE)
12 set(tesh_files   ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag_dotload.tesh    PARENT_SCOPE)
13 set(txt_files    ${txt_files}     ${CMAKE_CURRENT_SOURCE_DIR}/dag_with_bad_schedule.dot
14                                   ${CMAKE_CURRENT_SOURCE_DIR}/dag_with_cycle.dot
15                                   ${CMAKE_CURRENT_SOURCE_DIR}/dag_with_good_schedule.dot
16                                   ${CMAKE_CURRENT_SOURCE_DIR}/dag.dot
17                                   ${CMAKE_CURRENT_SOURCE_DIR}/ptg.dot                     PARENT_SCOPE)