Logo AND Algorithmique Numérique Distribuée

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