add_executable(gras_stub_generator stub_generator.c unix_stub_generator.c windows_stub_generator.c)
### Add definitions for compile
-target_link_libraries(gras_stub_generator simgrid pthread m -fprofile-arcs)
\ No newline at end of file
+if(NOT WIN32)
+ target_link_libraries(gras_stub_generator simgrid pthread m)
+else(NOT WIN32)
+ target_link_libraries(gras_stub_generator simgrid)
+endif(NOT WIN32)
\ No newline at end of file