Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prepare the out of source build.
[simgrid.git] / teshsuite / simdag / network / CMakeLists.txt
index b19d29e..d921c21 100644 (file)
@@ -1,10 +1,14 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/simdag/network/")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(test_reinit_costs test_reinit_costs.c)
 
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(test_reinit_costs simgrid m pthread )
+else(NOT WIN32)
+target_link_libraries(test_reinit_costs simgrid)
+endif(NOT WIN32)