I am asking why CMake doesn't support the following:<br><br>set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_<CONFIG> "-fmyflag")<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Would set_target_properties() work? Then you can do something like:<br>
<br>
set_target_properties( ${TARGET} PROPERTIES COMPILE_FLAGS "-fmyflag" )<br>
<br>
to set compile flags on a target by target basis.<br></blockquote></div><br>