mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 13:56:00 +00:00
VS: Tell VS 16.4 not to verify CMake-provided custom command outputs
Extend the fix from commit 0578239d3a
(VS: Tell VS 16.4 not to verify
SYMBOLIC custom command outputs, 2019-09-23, v3.15.4~2^2) to apply to
outputs in CMake-provided targets like `install`. Simply mark these
outputs as `SYMBOLIC` too since they are not actually generated.
Fixes: #19737
This commit is contained in:
parent
6fb747a01c
commit
ac1a1bf18b
@ -102,6 +102,10 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets()
|
||||
force += "/";
|
||||
force += l->GetName();
|
||||
force += "_force";
|
||||
if (cmSourceFile* sf = this->Makefile->GetOrCreateSource(
|
||||
force, true, cmSourceFileLocationKind::Known)) {
|
||||
sf->SetProperty("SYMBOLIC", "1");
|
||||
}
|
||||
if (cmSourceFile* file = this->Makefile->AddCustomCommandToOutput(
|
||||
force.c_str(), no_depends, no_main_dependency, force_commands, " ",
|
||||
0, true)) {
|
||||
|
Loading…
Reference in New Issue
Block a user