Skip to content

VS,Xcode: Add CMakeLists.txt sources without mutating targets

Brad King requested to merge brad.king/cmake:ide-direct-CMakeLists.txt into master

Rather than injecting CMakeLists.txt files into each target's SOURCES, teach the generators to add them during generation using dedicated code. This avoids mutating the original targets, and avoids polluting $<TARGET_PROPERTY:foo,SOURCES> with generator-specific content.

Merge request reports