Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update CMakeLists for windows
[simgrid.git] / examples / gras / properties / CMakeLists.txt
index ab5453b..8435d42 100644 (file)
@@ -22,6 +22,13 @@ add_custom_command(
                                        )
                                        
 ### Add definitions for compile
-target_link_libraries(properties_simulator simgrid pthread m -fprofile-arcs)
-target_link_libraries(properties_alice gras pthread m -fprofile-arcs)
-target_link_libraries(properties_bob gras pthread m -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(properties_simulator simgrid pthread m )
+target_link_libraries(properties_alice gras pthread m )
+target_link_libraries(properties_bob gras pthread m )
+else(NOT WIN32)
+target_link_libraries(properties_simulator simgrid)
+target_link_libraries(properties_alice gras)
+target_link_libraries(properties_bob gras)
+endif(NOT WIN32)
+