Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] factor code also for extracting the graph (between ASes, hosts, routers)...
[simgrid.git] / teshsuite / simdag / partask / CMakeLists.txt
index 7c66c58..cc357a2 100644 (file)
@@ -1,11 +1,15 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "./")
-set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(test_comp_only_seq test_comp_only_seq.c)
 add_executable(test_comp_only_par test_comp_only_par.c)
 
 ### Add definitions for compile
-target_link_libraries(test_comp_only_seq simgrid m pthread -fprofile-arcs)
-target_link_libraries(test_comp_only_par simgrid m pthread -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(test_comp_only_seq simgrid m pthread )
+target_link_libraries(test_comp_only_par simgrid m pthread )
+else(NOT WIN32)
+target_link_libraries(test_comp_only_seq simgrid)
+target_link_libraries(test_comp_only_par simgrid)
+endif(NOT WIN32)