Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix failing tests when enable_debug is not activated.
[simgrid.git] / teshsuite / xbt / log_usage / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(log_usage ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/log_usage/log_usage.c)
6
7 ### Add definitions for compile
8 if(NOT WIN32)
9   target_link_libraries(log_usage simgrid m )
10 else()
11   target_link_libraries(log_usage simgrid )
12 endif()
13
14 set(tesh_files
15   ${tesh_files}
16   ${CMAKE_CURRENT_SOURCE_DIR}/log_usage.tesh
17   ${CMAKE_CURRENT_SOURCE_DIR}/log_usage_ndebug.tesh
18   PARENT_SCOPE
19   )
20 set(xml_files
21   ${xml_files}
22   PARENT_SCOPE
23   )
24 set(testsuite_src
25   ${testsuite_src}
26   ${CMAKE_CURRENT_SOURCE_DIR}/log_usage.c
27   PARENT_SCOPE
28   )
29 set(bin_files
30   ${bin_files}
31   PARENT_SCOPE
32   )
33 set(txt_files
34   ${txt_files}
35   PARENT_SCOPE
36   )