X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc3c3416c4cca30fef7c29422d45094687f59893..3d845df082d79ab89649c1a8829eea201ae01085:/examples/simdag/CMakeLists.txt diff --git a/examples/simdag/CMakeLists.txt b/examples/simdag/CMakeLists.txt index 6c679ab71c..6a1d6d2e21 100644 --- a/examples/simdag/CMakeLists.txt +++ b/examples/simdag/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.6) - set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") add_executable(ex_sd_test sd_test.c) @@ -10,9 +8,7 @@ add_executable(sd_typed_tasks_test sd_typed_tasks_test.c) add_executable(sd_comm_throttling sd_comm_throttling.c) add_executable(sd_seq_access sd_seq_access.c) -if (HAVE_TRACING) - add_executable(simdag_tracing simdag_trace.c) -endif() +add_executable(simdag_tracing simdag_trace.c) ### Add definitions for compile if(NOT WIN32) @@ -23,9 +19,7 @@ if(NOT WIN32) target_link_libraries(sd_typed_tasks_test simgrid pthread ) target_link_libraries(sd_comm_throttling simgrid pthread ) target_link_libraries(sd_seq_access simgrid pthread ) - if (HAVE_TRACING) target_link_libraries(simdag_tracing simgrid pthread ) - endif() add_custom_command(TARGET ex_sd_test POST_BUILD @@ -45,9 +39,7 @@ else() target_link_libraries(sd_typed_tasks_test simgrid) target_link_libraries(sd_comm_throttling simgrid) target_link_libraries(sd_seq_access simgrid) - if (HAVE_TRACING) - target_link_libraries(simdag_tracing simgrid) - endif() + target_link_libraries(simdag_tracing simgrid) add_custom_command(TARGET ex_sd_test POST_BUILD