<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_8397257273997332526WordSection1">
<p class="MsoNormal">So, are you suggesting that I make a “dummy” target and fill it with the common options in compile_definitions() and include_directories() (et. al.)<u></u><u></u></p>
<p class="MsoNormal">Then make my OBJECT libraries (and the shared library) depend on the “dummy” target? <br></p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div class="m_8397257273997332526WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If that’s not the suggestion, I’m afraid I don’t see how I can use this to set the common flags<u></u><u></u></p></div></div></blockquote><div><br></div><div>That's certainly one way you can solve the problem, i.e. making an interface library with the common defs, and a good idea at that, but that's not what I was referring to.  I was simply tying to explain that the error your getting trying to pass arguments to target_compile_options is because you're missing the visibility argument.</div><div><br></div><div>- Chuck<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div class="m_8397257273997332526WordSection1"><div><div><div><div>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div></div>