akuzminykh
akuzminykh

Reputation: 4743

Change a property of each project in Visual Studio solution?

I have a big solution with many projects. I want to change the Windows SDK Version property for each project but without going through every single one and setting it manually.

The solution is created with cmake-gui from an open source CMake-based framework, i.e. AliceVision.

Upvotes: 0

Views: 183

Answers (1)

Richard
Richard

Reputation: 109130

Put the variable setting in a file (with anything else shared) and then include that into each project's make file.

See https://cmake.org/cmake/help/v3.11/command/include.html

To make this easy to edit, add the include file as a solution item in VS.

Upvotes: 1

Related Questions