Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix ns3.
[simgrid.git] / teshsuite / msg / CMakeLists.txt
index 441cff8..45f1241 100644 (file)
@@ -1,8 +1,12 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/msg/")      
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")      
 
-add_executable(get_sender ${PROJECT_DIRECTORY}/teshsuite/msg/get_sender.c)
+add_executable(get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.c)
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(get_sender simgrid m pthread )
+else(NOT WIN32)
+target_link_libraries(get_sender simgrid)
+endif(NOT WIN32)