On Wed, Apr 29, 2009 at 07:27:05PM +0100, Hicham Mouline wrote:
> I use cmake to generate a VS2005 solution as well as linux/g++ makefiles.
> I have a directory containing headers only and subdirs also with headers
> only,
> However I wish to display 1 project for that directory, and filters 1 for
> each of the subdirs.
> There is nothing to build for that dir, but I wish to show it in VS2005.

I believe that if you add the list of headers to your add_library() or
add_executable() (do you have those commands for these projects? what
do your header-only projects actually do?), they will show up as header
files in VS.

Note that there is a bug in CMake 2.6.3 related to headers in VS. If
you're using that version, you might want to check if that bug applies
to your situation.

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to