mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs
VS 16.4 introduces an additional check on `CustomBuild` rules that warns if the outputs of the command are not created. However, CMake supports marking outputs with the `SYMBOLIC` property to indicate that they will not actually be generated. That property is used by Makefile and Ninja generators but has not been needed by the VS generators before. Teach the VS generator to disable `VerifyInputsAndOutputsExist` in custom build rules that have a symbolic output. Fixes: #19737
This commit is contained in:
@@ -142,7 +142,7 @@ private:
|
||||
std::string const& script,
|
||||
std::string const& additional_inputs,
|
||||
std::string const& outputs,
|
||||
std::string const& comment);
|
||||
std::string const& comment, bool symbolic);
|
||||
void WriteCustomRuleCSharp(Elem& e0, std::string const& config,
|
||||
std::string const& commandName,
|
||||
std::string const& script,
|
||||
|
||||
Reference in New Issue
Block a user