调用doxygen时在Powershell中配置一些变量

Configure some variables in Powershell when calling doxygen

如何将以下行为从 Windows cmd 转换为 Windows Powershell:

( type Doxyfile & echo PROJECT_NUMBER=1.0 ) | doxygen.exe -

我已经针对 Windows cmd 问了这个问题

Powershell 的语法确实有点不同。在其他问题的帮助下,我得到了以下工作:

&{type Doxyfile; echo PROJECT_NUMBER=1.0} |doxygen -