Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / teshsuite / xbt / CMakeLists.txt
1 foreach(x heap_bench log_large mallocator parallel_log_crashtest parmap_bench parmap_test)
2     add_executable       (${x}  ${x}/${x}.c)
3     target_link_libraries(${x}  simgrid)
4     set_target_properties(${x}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
5
6     set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
7     set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.c)
8 endforeach()
9
10 foreach(x heap_bench log_large parallel_log_crashtest parmap_test) #mallocator parmap_bench
11     ADD_TESH(tesh-xbt-${x} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/${x} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/${x} ${x}.tesh)
12 endforeach()
13
14 set(teshsuite_src ${teshsuite_src}                                             PARENT_SCOPE)
15 set(tesh_files    ${tesh_files}                                                PARENT_SCOPE)