Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
5390d9c902574dc9271e73b187a2eff4a4aa5ecd
[simgrid.git] / tools / tesh / CMakeLists.txt
1 configure_file("${CMAKE_HOME_DIRECTORY}/tools/tesh/tesh.py"
2   "${CMAKE_BINARY_DIR}/bin/tesh" @ONLY IMMEDIATE)
3
4
5 foreach(x setenv set-output-ignore set-output-sort set-return set-timeout background basic bg-basic bg-set-signal
6           catch-return catch-signal catch-timeout catch-timeout-output catch-wrong-output cd color ignore-regexp IO-bigsize IO-broken-pipe IO-orders)
7   set(tesh_files  ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.tesh)
8   if(NOT enable_memcheck AND NOT WIN32)
9     ADD_TESH(tesh-self-${x} --setenv bindir=${CMAKE_BINARY_DIR}/bin ${CMAKE_HOME_DIRECTORY}/tools/tesh/${x}.tesh)
10   endif()
11 endforeach()
12
13 set(tesh_files ${tesh_files}                                                                               PARENT_SCOPE)
14 set(bin_files  ${bin_files}  ${CMAKE_CURRENT_SOURCE_DIR}/tesh.py ${CMAKE_CURRENT_SOURCE_DIR}/generate_tesh PARENT_SCOPE)