Re: [CMake] Some Visual Studio/CMake questions

2016-03-09 Thread Benjamin Ballet
Here we migrated a huge Visual Studio solution (130 targets) to CMake. * The switch between Debug and Release always took a few seconds, during with Visual seems freezed. * We have the same problem : I think the cmake generator has to modify vcxproj files and when a file like this, Visual studio

Re: [CMake] Some Visual Studio/CMake questions

2016-03-08 Thread Nicholas Braden
IIRC, the project() command can be called once per directory. So you can have each directory be a separate project via add_subdirectory(). I just tried it out and it seems to create a solution (*.sln) for each project(). I can't answer the other questions, sorry. On Tue, Mar 8, 2016 at 10:03

[CMake] Some Visual Studio/CMake questions

2016-03-08 Thread Jakob van Bethlehem
Dear users, Since about a year I work on a project that uses CMake in combination with Visual Studio. This works kind of oke, but over time some questions have emerged. Hopefully I can get an answer on this list: * Our build infrastructure creates a Release and a Debug configuration by setting