Generate VS Solution with different projects

Sep 11, 2014 at 3:04 AM

Is there currently a way to generate a different projects (static library projects) with an app project that will consume them, all in one solution?

I'm finding that opening different instances of visual studio per library to be a bit more work than it should be.


Sep 11, 2014 at 3:09 AM
Yes to your question. Any CMake project you include with an "add_library" target that is added to the project's target will include all of the sources in that target's project.

Warmest regards, Matt

Sep 11, 2014 at 4:49 PM
If you want a sample, we've put one in Tests\VSWinRT which has static libraries, dynamic libraries and how they relate to each other.