-cmake_minimum_required(VERSION 2.6)
-
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
-add_executable(file file.c)
-add_executable(file_unlink file_unlink.c)
-
-### Add definitions for compile
-if(NOT WIN32)
- target_link_libraries(file simgrid pthread)
- target_link_libraries(file_unlink simgrid pthread)
-else()
- target_link_libraries(file simgrid)
- target_link_libraries(file_unlink simgrid)
-endif()
+add_executable (file file.c)
+target_link_libraries(file simgrid)
+add_executable (file_unlink file_unlink.c)
+target_link_libraries(file_unlink simgrid)
+add_executable (storage storage.c)
+target_link_libraries(storage simgrid)
+add_executable (remote remote.c)
+target_link_libraries(remote simgrid)