Hi Kevyn-Alexandre, <br><br>May be you could so something like:<br><br>file(READ &quot;/path/to/Config-Generic.txt&quot; configGenericContent)<br>file(READ &quot;/path/to/Config-Project.txt&quot; configProjectContent)<br>file(WRITE &quot;/path/to/CMakeCache.txt ${configGenericContent})<br>

file(APPEND &quot;/path/to/CMakeCache.txt ${configProjectContent})<br><br>Hth<br>Jc<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 3:51 PM, Kevyn-Alexandre Paré <span dir="ltr">&lt;<a href="mailto:kapare@rogue-research.com">kapare@rogue-research.com</a>&gt;</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;">Hi,<br>
<br>
Is it possible to call or include CMakeCache from another CMakeCache?<br>
<br>
I want to replace my 2 CMakeCache to one.<br>
<br>
ex:<br>
<br>
cmake -C Config-Generic.txt Config-Project.txt ../<br>
<br>
Any idea if it&#39;s possible to include the Config-Generic.txt inside the Config-Project.txt?<br>
<br>
Best Regards,<br>
<br>
Kevyn-Alexandre Paré<br>
<br>
<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>