[CMake] Visual Studio sub-projects

Smith Jack (Ext. - UGIS - UniCredit Group) jack.smith.extern at unicreditgroup.de
Mon Feb 1 04:14:31 EST 2010


Does the Cmake Visual Studio generator understand the concept of sub projects.

Solution
-ProjectA
-ProjectB
--SubprojectB1
--SubprojectB2
-ProjectC

I'd like to have a generated solution such that when opened within visual studio, the subprojects SubprojectB1, and SubprojectB2 are "collapsable" underneath ProjectB, and don't appear in the solution tree when ProjectB is collapsed.

My guess is that such functionality is available within Cmake, but I can't find the documentation for how to do it.

Thanks


More information about the CMake mailing list