Cristian Bidea escreveu:
Hello

Is it possible to set some C_FLAGS per target?! I know about the
global variable CMAKE_C_FLAGS but I don't need all the flags for all
the targets in the project.

Thank you!

I think you can set it with set_target_properties, for example:

set_target_properties(target PROPERTIES COMPILE_FLAGS -Wall)

Regards,
rod

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to