)
### Add definitions for compile
-target_link_libraries(simple_token_simulator simgrid pthread m -fprofile-arcs)
-target_link_libraries(simple_token_node gras pthread m -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(simple_token_simulator simgrid pthread m )
+target_link_libraries(simple_token_node gras pthread m )
+else(NOT WIN32)
+target_link_libraries(simple_token_simulator simgrid)
+target_link_libraries(simple_token_node gras)
+endif(NOT WIN32)
+