Hi,<br><br>I need to set multiple symbols in one of my target of my project. I can&#39;t use add_definitions because I don&#39;t want to define those variable for all my targets, so I tried custom properties.<br><br>set_target_properties( target PROPERTIES DEFINE_SYMBOL&nbsp; VALUE1 VALUE2 ) doesn&#39;t work : the function doesn&#39;t expect this number of variables.<br>
<br>if I try : <br><br>set( var &quot;VALUE1 VALUE2&quot; ). <br>set_target_properties( target PROPERTIES DEFINE_SYMBOL&nbsp; ${var} ) <br><br>I get <br><br>c1xx : fatal error C1083: &#39;VALUE2&#39;: No such file or directory<br>
<br>I&#39;m working with the microsoft compiler, and cmake 2.6.<br><br>Any thoughts ?<br><br>Regards,<br>--<br>Mehdi<br><br><br>