我如何:在编译项目之前执行系统操作调用? [英] How do I: Execute system operation call before compile project?
问题描述
我使用的是Microsoft Visual C ++,我有一些项目配置。
(配置A,配置B,......,配置N)
我需要在每个
一个项目配置编译之前执行一些系统操作调用,如复制,删除等
。
我该怎么做?
问候,
Jaime。
I am using Microsoft Visual C++ and i have some projects configuration.
(Configuration A, Configuration B, ..., Configuration N)
I need to execute some system operation call such as copy, delete, etc
before each
one project configuration compilation.
How do i do it?
Regards,
Jaime.
推荐答案
"海梅" < JA *** @ discussions.microsoft.com>在消息中写道
新闻:A3 ********************************** @ microsof t.com ...
"Jaime" <Ja***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
我使用的是Microsoft Visual C ++,我有一些项目配置。
(配置A,配置B,...,配置N)
OK。
我需要在每个项目配置编译之前执行一些系统操作调用,如复制,删除等。
>我该怎么做?
I am using Microsoft Visual C++ and i have some projects configuration.
(Configuration A, Configuration B, ..., Configuration N)
OK.
I need to execute some system operation call such as copy, delete, etc
before each one project configuration compilation.
How do i do it?
您的选项如下所述:
http://msdn.microsoft.com/library/de。 ..ld_process.asp
如果我理解正确,你想使用预建活动功能
的IDE。
问候,
将
Your options are described here:
http://msdn.microsoft.com/library/de...ld_process.asp
If I understand you correctly, you want to use the "Pre-Build Event" feature
of the IDE.
Regards,
Will
我正在使用Visual Studio 6和预构建事件功能不存在
IDE上的
。
" William DePalo [MVP VC ++]"写道:
I am using Visual Studio 6 and the "Pre-Build Event" feature is not present
on the IDE.
"William DePalo [MVP VC++]" wrote:
" Jaime" < JA *** @ discussions.microsoft.com>在消息中写道
新闻:A3 ********************************** @ microsof t.com。 ..
"Jaime" <Ja***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
我使用的是Microsoft Visual C ++,我有一些项目配置。
(配置A,配置B,...,配置N)
I am using Microsoft Visual C++ and i have some projects configuration.
(Configuration A, Configuration B, ..., Configuration N)
好的。
OK.
我需要在每个项目配置编译之前执行一些系统操作调用,如复制,删除等。
>我该怎么做?
I need to execute some system operation call such as copy, delete, etc
before each one project configuration compilation.
How do i do it?
你的选项在这里描述:
http://msdn.microsoft.com/library/de...ld_process。 asp
如果我理解正确,你想使用预建活动功能
IDE。
问候,
Your options are described here:
http://msdn.microsoft.com/library/de...ld_process.asp
If I understand you correctly, you want to use the "Pre-Build Event" feature
of the IDE.
Regards,
Will
" Jaime" ; < JA *** @ discussions.microsoft.com>在消息中写道
news:45 ********************************** @ microsof t.com ...
"Jaime" <Ja***@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
我使用的是Visual Studio 6和Pre-Build Event。 IDE上没有功能
。
I am using Visual Studio 6 and the "Pre-Build Event" feature is not present
on the IDE.
在工作区窗格中,单击项目名称。然后从菜单
选择Project-> Settings。这会显示一个标签式对话框。找到
被标记为预链接步骤的标签:
http://msdn.microsoft.com/library/de...uild_rules.asp
问候,
将
In the workspace pane click on the name of your project. Then from the menu
choose Project->Settings. That displays a tabbed-dialog. Find the tab which
is labeled "Pre-Link Step":
http://msdn.microsoft.com/library/de...uild_rules.asp
Regards,
Will
这篇关于我如何:在编译项目之前执行系统操作调用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!