Skip to content

VS: Place source-specific AdditionalOptions after target-wide flags

Brad King requested to merge brad.king/cmake:vs-flag-order into master

Flags specified in the COMPILE_FLAGS source-file property should be placed after those in target-wide properties so that those on individual source files can override those on the whole target. This is already done by most generators but was not implemented correctly for VS 2010 and above.

Closes: #16400 (closed)

Merge request reports