Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
props dict does not always exists anymore. Check if not NULL before
[simgrid.git] / teshsuite / simdag / partask / CMakeLists.txt
index e912349..cc357a2 100644 (file)
@@ -1,10 +1,15 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/simdag/partask/")
+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
+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)