可以使用生成事件指定在生成启动前、进行链接前或生成完成后运行的命令。
You can use build events to specify commands that run before the build starts, before the link process, or after the build finishes.
有时configure前阶段选择的编译器标记可以链接可执行文件,但最终生成的可执行文件却不能运行,这是一个特别致命的错误。
A particularly pernicious variation occurs when the compiler flags selected in the early phases of configure are able to link executables, but the resulting executables won't run.
例如,在显示具有指向Portlet的编辑模式的链接的图标前,门户需要知道Portlet是否支持编辑模式。
For example, the portal needs to know if the portlet supports the edit mode before it can display an icon with a link to the edit mode of the portlet.
应用推荐