Logo AND Algorithmique Numérique Distribuée

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