> I've tried running cmake independently for each subproject but I get errors > about unknown > Targets since every Sub Project depends on targets from 'earlier' one. > > I have about 620 targets (VS projects) so when I open Main Project.sln (with > 620 projects) in VS it is impossible to work with. > Currently cmake produces .sln for each Sub Project but includes dependencies > from other projects and that's something I don’t want > Since the amount of projects in each .sln increases the further I go and most > of them (later in the dependency chain) are not possible to work > with either. I'm trying to divide it into .slns that developers could work > with in VS. > Hmm; I was going to check to see if .sln's were made in subdirs... and they are... wonder if it was always taht way. But... the projects deeper in the tree only have those things that it depended on... so I don't get why you say 'the amount of projects increases the further you go' Yes... high level projects will have all of their dependancies but nothing extra...
isn't it already making the minimal solutions you're suggesting you make by hand anyway? Other than as I use this; the Install rule in the sub-solution doesn't install everything... could wish the OutputPath cmake built was relative to the solution instead of the projects... then at least nothing funky would have to be done to run applications from the debugger; other than data resources could still be missing. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake