Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prepare the out of source build.
[simgrid.git] / testsuite / 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_usage "log_usage.c")
6 add_executable(graphxml_usage "graphxml_usage.c")
7 add_executable(heap_bench "heap_bench.c")
8
9 ### Add definitions for compile
10 if(NOT WIN32)
11 target_link_libraries(log_usage gras m )
12 target_link_libraries(graphxml_usage simgrid m )
13 target_link_libraries(heap_bench gras m )
14 else(NOT WIN32)
15 target_link_libraries(log_usage gras )
16 target_link_libraries(graphxml_usage simgrid )
17 target_link_libraries(heap_bench gras )
18 endif(NOT WIN32)