X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d3bb007d52c72d2f2fd5a636d4792d4e5f9427d..20801428bec07ed58c348d25ad39878f2c208389:/testsuite/xbt/CMakeLists.txt diff --git a/testsuite/xbt/CMakeLists.txt b/testsuite/xbt/CMakeLists.txt index cd690a1f6d..e2356877b6 100644 --- a/testsuite/xbt/CMakeLists.txt +++ b/testsuite/xbt/CMakeLists.txt @@ -1,12 +1,48 @@ cmake_minimum_required(VERSION 2.6) -set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/testsuite/xbt/") +set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") add_executable(log_usage "log_usage.c") add_executable(graphxml_usage "graphxml_usage.c") add_executable(heap_bench "heap_bench.c") +add_executable(parmap_bench "parmap_bench.c") ### Add definitions for compile -target_link_libraries(log_usage gras m -fprofile-arcs) -target_link_libraries(graphxml_usage simgrid m -fprofile-arcs) -target_link_libraries(heap_bench gras m -fprofile-arcs) +if(NOT WIN32) + target_link_libraries(log_usage gras m ) + target_link_libraries(graphxml_usage simgrid m ) + target_link_libraries(heap_bench gras m ) + target_link_libraries(parmap_bench simgrid m ) +else(NOT WIN32) + target_link_libraries(log_usage gras ) + target_link_libraries(graphxml_usage simgrid ) + target_link_libraries(heap_bench gras ) + target_link_libraries(parmap_bench simgrid ) +endif(NOT WIN32) + + +set(tesh_files + ${tesh_files} + PARENT_SCOPE +) +set(xml_files + ${xml_files} + ${CMAKE_CURRENT_SOURCE_DIR}/graph.xml + PARENT_SCOPE +) +set(testsuite_src + ${testsuite_src} + ${CMAKE_CURRENT_SOURCE_DIR}/graphxml_usage.c + ${CMAKE_CURRENT_SOURCE_DIR}/heap_bench.c + ${CMAKE_CURRENT_SOURCE_DIR}/log_usage.c + ${CMAKE_CURRENT_SOURCE_DIR}/parmap_bench.c + PARENT_SCOPE +) +set(bin_files + ${bin_files} + PARENT_SCOPE +) +set(txt_files + ${txt_files} + PARENT_SCOPE +) \ No newline at end of file