使用项目默认预构建事件执行预构建事件

Execute pre-build event with project defaults pre-build event

我有一个 VS C++ 项目,想要使用预构建事件,但不想覆盖项目的默认预构建事件,它是 project props file. Is there a way to execute both without copying the pre-build event from the props file.[=11= 的一部分]

父项目是什么意思?您必须记住,构建首先会编译所有叶项目,然后沿着依赖关系图上升到最高级别的应用程序和测试应用程序。

如果您不想更改您称为父对象的预构建步骤,您可以考虑更改后构建步骤。

$(Command) 在被覆盖的条目中替换为 props 文件中的命令行事件。