Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
6b654f306eb4e4a543c53838ae155889f4255ad8
[simgrid.git] / testsuite / surf / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}/testsuite/surf/")
4
5 add_executable(lmm_usage "lmm_usage.c")
6 add_executable(maxmin_bench "maxmin_bench.c")
7 add_executable(surf_usage "surf_usage.c")
8 add_executable(surf_usage2 "surf_usage2.c")
9 add_executable(trace_usage "trace_usage.c")
10
11 ### Add definitions for compile
12 if(NOT WIN32)
13 target_link_libraries(lmm_usage simgrid m ) 
14 target_link_libraries(maxmin_bench simgrid m ) 
15 target_link_libraries(surf_usage simgrid m ) 
16 target_link_libraries(surf_usage2 simgrid m ) 
17 target_link_libraries(trace_usage simgrid m )
18 else(NOT WIN32)
19 target_link_libraries(lmm_usage simgrid ) 
20 target_link_libraries(maxmin_bench simgrid ) 
21 target_link_libraries(surf_usage simgrid ) 
22 target_link_libraries(surf_usage2 simgrid ) 
23 target_link_libraries(trace_usage simgrid )
24 endif(NOT WIN32)