[Cmake] Visual Studio Project Generation

Brad King brad.king at kitware.com
Thu Aug 5 11:38:50 EDT 2004


Andrew Dupont wrote:
> Hello Again,
> 
> 	In order to test my CMakeList.txt, I'm converting it into a
> Visual Studio 7 project file. Then I compare the load and build in VS of
> the original project file and the one built from CMake. The only
> discrepancy I can see is that there are some files I included, which in
> the original, show up under a Resources directory. In my generated
> project file they hang out at the top, not in Sources or Headers, and
> certainly not associated as Resources. Which command would I use to
> indicate that these files should be allocated in this way?

SOURCE_GROUP(Resources FILES src1 src2 ...)

-Brad


More information about the Cmake mailing list