Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make directory when building out of the source tree.
[simgrid.git] / examples / msg / mc / CMakeLists.txt
index 44751fe..9e101b4 100644 (file)
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.6)
 if(HAVE_MC)
   set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
+  file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test/")
+
   add_executable(centralized centralized_mutex.c)
   add_executable(bugged1     bugged1.c)
   add_executable(bugged2      bugged2.c)
@@ -15,7 +17,6 @@ if(HAVE_MC)
   add_executable(test_snapshot test_snapshot.c)
   add_executable(test/compare_snapshot test/compare_snapshot.c)
 
-
   target_link_libraries(centralized simgrid m )
   target_link_libraries(bugged1     simgrid m )
   target_link_libraries(bugged2     simgrid m )