<div class="gmail_quote">On Fri, Oct 21, 2011 at 4:08 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a folder with a bunch of cmake modules in it that contain my custom CMake code used across all projects.<div><br></div><div>I only generate for visual studio, so I was thinking it would be useful to have a dummy project in my solution named "_cmake" that contains nothing but my *.cmake files in it.</div>
<div><br></div><div>How would I create such a project? It needs to show up in ANY solution opened that is generated at any level via call to project().<br clear="all"><div><br></div></div></blockquote><div><br>If you want it to show up in any sln file generated by any call to the project command, then you're going to need to modify CMake source code to get that to happen.<br>
<br>Another alternative would be to add a custom target, and specify all your cmake files as "SOURCES" to the add_custom_target call. But that will only show up in solution files that include the custom target.<br>
<br><br>HTH,<br>David<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>---------</div>Robert Dailey<br>
</div>
<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>