<div class="gmail_quote">On Fri, Feb 11, 2011 at 10:29 AM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> it is what I want.<br>
> But how?<br>
><br>
> How can I "put all the directories in EXTERNAL_PRODUCT_INCLUDES" from cmake command line?<br>
><br>
<br>
</div>I do not know. Sorry. I did not see that you were trying to add these<br>
via the command line. I never use that mode of cmake.<br>
<font color="#888888"><br>
John<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br><br>You should be able to do:<br><br> cmake "-DEXTERNAL_PRODUCT_INCLUDES=/dir a;/dir b;/dirc/include" ../source_directory<br><br>And then, inside CMakeLists.txt:<br><br> include_directories(${EXTERNAL_PRODUCT_INCLUDES})<br>
<br><br>Is there a problem you hit with that approach?<br><br>