Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Need to set this flag to compile on windows
[simgrid.git] / testsuite / surf / CMakeLists.txt
index 6b654f3..e43a063 100644 (file)
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}/testsuite/surf/")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(lmm_usage "lmm_usage.c")
 add_executable(maxmin_bench "maxmin_bench.c")
@@ -18,7 +18,8 @@ target_link_libraries(trace_usage simgrid m )
 else(NOT WIN32)
 target_link_libraries(lmm_usage simgrid ) 
 target_link_libraries(maxmin_bench simgrid ) 
+set_target_properties(maxmin_bench PROPERTIES COMPILE_FLAGS "-DDLL_STATIC")
 target_link_libraries(surf_usage simgrid ) 
 target_link_libraries(surf_usage2 simgrid ) 
 target_link_libraries(trace_usage simgrid )
-endif(NOT WIN32)
\ No newline at end of file
+endif(NOT WIN32)