[CMake] sub-sections in visual7 with CMAKE ?

Yann Pinczon du Sel ypinczon at irisa.fr
Mon Jan 22 08:41:27 EST 2007


Hello,
I'm new to CMAke, trying to make a project in cmake that will look like 
those i already have in visual7.
So is it possible with the cmake files, to make a visual 7 project  in 
wich sources files will be divided into different sections and 
sub-sections ?
For info, the subdivision in sections within the .vcproj are made so:
<Files>
    <Filter
        Name="Source Files"
        Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
       <Filter
            Name="SubDir1 with 2 files"
            Filter="">
            <File
                RelativePath=".\file1.cpp">
            </File>
            <File
                RelativePath=".\file1.cpp">
            </File>
        </Filter>
        <Filter
             Name="SubDir2 with 1 file"
             Filter="">
             <File
                 RelativePath=".\another_file1.cpp">
             </File>
         </Filter>
      </Filter>
</File>


I hope i'm clear enough.
thx in advance.


More information about the CMake mailing list