[cmake-developers] Set msbuild.exe to build the solution instead of the ALL_BUILD target?

Brad King brad.king at kitware.com
Wed May 6 11:19:31 EDT 2015


On 05/06/2015 11:12 AM, Robert Goulet wrote:
> Well, it's just that it makes it cleaner in our build script to
> simply invoke cmake to build, instead of doing per-platform code.

Adding a special argument to "cmake --build" to tell it to build
the solution file will also be platform-specific code.

> So what's the best approach you want me to implement? "--target $proj.sln?"

I think it makes sense to implement that approach even if we later
implement another approach.

Thanks,
-Brad



More information about the cmake-developers mailing list