Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no more xbt in Tests.cmake
[simgrid.git] / teshsuite / xbt / mmalloc / CMakeLists.txt
1 if(HAVE_MMALLOC)
2   add_executable       (mmalloc_test mmalloc_test.c)
3   target_link_libraries(mmalloc_test simgrid)
4   if(${ARCH_32_BITS})
5     ADD_TESH(tesh-xbt-mmalloc-32 --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/mmalloc --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/mmalloc mmalloc_32.tesh)
6   else()
7     ADD_TESH(tesh-xbt-mmalloc-64 --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/mmalloc --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/mmalloc mmalloc_64.tesh)
8   endif()
9 endif()
10
11 set(tesh_files     ${tesh_files}     ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_64.tesh
12                                      ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_32.tesh  PARENT_SCOPE)
13 set(teshsuite_src  ${teshsuite_src}  ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_test.c   PARENT_SCOPE)