Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add unit support in xml files [#14422]
[simgrid.git] / teshsuite / xbt / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4 if(NOT WIN32)
5   add_executable(log_large_test log_large_test.c)
6   add_executable(parallel_log_crashtest parallel_log_crashtest.c)
7   if(HAVE_MMAP)
8     add_executable(mmalloc_test mmalloc_test.c)
9   endif()
10 endif()
11
12 ### Add definitions for compile
13 if(NOT WIN32)
14   target_link_libraries(log_large_test simgrid m pthread )
15   target_link_libraries(parallel_log_crashtest simgrid m pthread )
16   if(HAVE_MMAP)
17     target_link_libraries(mmalloc_test simgrid m pthread )
18   endif()
19 endif()
20
21 set(tesh_files
22   ${tesh_files}
23   ${CMAKE_CURRENT_SOURCE_DIR}/log_large_test.tesh
24   ${CMAKE_CURRENT_SOURCE_DIR}/parallel_log_crashtest.tesh
25   ${CMAKE_CURRENT_SOURCE_DIR}/xbt.tesh
26   ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_64.tesh
27   ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_32.tesh
28   PARENT_SCOPE
29   )
30 set(xml_files
31   ${xml_files}
32   PARENT_SCOPE
33   )
34 set(teshsuite_src
35   ${teshsuite_src}
36   ${CMAKE_CURRENT_SOURCE_DIR}/log_large_test.c
37   ${CMAKE_CURRENT_SOURCE_DIR}/parallel_log_crashtest.c
38   ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_test.c
39   PARENT_SCOPE
40   )
41 set(bin_files
42   ${bin_files}
43   PARENT_SCOPE
44   )
45 set(txt_files
46   ${txt_files}
47   PARENT_SCOPE
48   )