[CMake] Nested Project()

Micha Renner Micha.Renner at t-online.de
Tue Aug 16 04:10:43 EDT 2011


Am Montag, den 15.08.2011, 22:43 +0200 schrieb klaas.holwerda:
> Hi,
> 
> I have several nested directories, and each directory contains a CMakeLists.txt file.
> And most start with PROJECT( xxxx ) Where xxx is some name for what I like to contains some targets.
> 
> In VC it is possible to create in the top solution, so called solution folders.
> Why does CMake not use the PROJECT() statement to create such solution folders, in order to group 
> targets?
You can group targets.
Documentation and how to do, is described here (as a start point):
http://www.cmake.org/pipermail/cmake/2010-December/041375.html

There are limits...
http://public.kitware.com/Bug/view.php?id=11436

...and it does not work with VS Express, as much as I know.

Greetings

Micha



> 
> If I remember well, in older versions of Cmake its VC generators, this was like that.
> I even remember the documentation of PROJECT() did mention it as a special feature for VC in those days.
> Why is it gone?
> 
> Regards,
> 
> Klaas
> 
> 
> 
> 
> 
> _______________________________________________
> 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




More information about the CMake mailing list