Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Explain how to change compiler version on doc
[simgrid.git] / teshsuite / gras / datadesc / CMakeLists.txt
index e154e2e..d54b570 100644 (file)
@@ -1,8 +1,12 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/gras/datadesc/")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(datadesc_usage datadesc_usage.c datadesc_structs.c)
 
 ### Add definitions for compile
-target_link_libraries(datadesc_usage gras m pthread -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(datadesc_usage gras m pthread)
+elseif(NOT WIN32)
+target_link_libraries(datadesc_usage gras)
+endif(NOT WIN32)
\ No newline at end of file