Hello,<div><br></div><div>I have defined a number of functions, like so...</div><div><br></div><div><div>function(BUILD_HOTWIRE_SERVER)</div><div> ...</div><div><div>endfunction(BUILD_HOTWIRE_SERVER)</div><div><br></div><div>
<br></div><div>Now, based on what user as requested, I'd like to call selected functions like so...</div><div><br></div><div><br></div><div><div>foreach(COMPONENT ${ONLY})</div><div> if(ENABLE_${COMPONENT})</div><div>
message(BUILD_${COMPONENT})</div><div> BUILD_${COMPONENT}()</div><div> endif()</div><div> message(${LINE})</div><div>endforeach(COMPONENT)</div><div><br></div><div><br></div><div>...however, cmake does not seem too friendly to the BUILD_${COMPONENT}().</div>
<div><br></div><div>What should I do?</div><div><br></div><div>Thankyou,</div><div><br></div><div>Nima</div></div><div><br></div><div><br></div></div>-- <br>Nima Talebiw: <a href="http://ai.autonomy.net.au/">http://ai.autonomy.net.au/</a> <br>
p: +61-4-0667-7607 m: <a href="mailto:nima@autonomy.net.au">nima@autonomy.net.au</a><br>
</div>