Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在编译时在我的 nsis 脚本中设置一些变量?例如:
makensis.exe myscript.nsi "buildversion"
我想在编译期间在我的脚本中设置 buildversion。谢谢!
makensis -Dbuildversion=1.2.3.4 myscript.nsi
-D 设置一个 !define,而不是变量(${adefine}, $avariable),你必须得到 -D 的顺序和正确的脚本......
${adefine}
$avariable