Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't compile those examples on Win
[simgrid.git] / teshsuite / simdag / platforms / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(basic_parsing_test basic_parsing_test.c)
6 add_executable(is_router_test is_router_test.c)
7 add_executable(flatifier flatifier.c)
8 add_executable(basic_tracing basic_tracing.c)
9
10 ### Add definitions for compile
11 if(NOT WIN32)
12 add_executable(evaluate_parse_time Evaluate_parse_time.c)
13 add_executable(evaluate_get_route_time Evaluate_get_route_time.c)
14 target_link_libraries(evaluate_get_route_time simgrid m)
15 target_link_libraries(evaluate_parse_time simgrid m)
16 target_link_libraries(basic_parsing_test simgrid m)
17 target_link_libraries(is_router_test simgrid m)
18 target_link_libraries(flatifier simgrid m)
19 target_link_libraries(basic_tracing simgrid m)
20 else(NOT WIN32)
21 target_link_libraries(basic_parsing_test simgrid)
22 target_link_libraries(is_router_test simgrid)
23 target_link_libraries(flatifier simgrid)
24 target_link_libraries(basic_tracing simgrid)
25 endif(NOT WIN32)