[CMake] Visual Studio folders

Andrew J Roark andrewjroark at gmail.com
Sun Feb 15 14:46:55 EST 2009


Hello,

The following pertains to Visual Studio 2008 (FWIW) and a very recent
(not sure exactly which) build of cmake.

Firstly, I'm a big cmake fan. We had lots of discussions where I work
on which tool to move to. We trialled scons and others and settled on
cmake.
Thanks for the great tool. :)

It works very well on Linux for us and the windows builds are good,
BUT the usage on windows has some frustrations (though the build
itself works).

Firstly, all the *.cpp source is clearly available under "Source
Files", I can't get the *.h files to appear under "Header Files". I've
tried a few things based on googling and the cmake wiki and nothing
seems to work.

The project in question has about 20 libraries and 5 executables. That
may be confusing the cmake generation stage.

The targets load and build, but the large number of targets makes
usage cumbersome. It would really help to group them into folders like
"Communcations", "Tests", "Samples", "Production" etc.
I can't see a way to targets into a folder. Am I missing something?

Thanks for any advice!
AJ


More information about the CMake mailing list