Delphi:如何在项目组中设置默认项目? [英] Delphi: How to set the default project in a project group?
本文介绍了Delphi:如何在项目组中设置默认项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一个项目组中有两个项目:
i have two projects in a project group:
- ProjectA
- ProjectB
每当我在Delphi中打开ProjectGroup.bpg时,它总是以第二个项目作为活动项目开始:
Whenever i open the ProjectGroup.bpg in Delp it always starts with the 2nd project as the active one:
- ProjectA
- ProjectB
- ProjectA
- ProjectB
每当我不得不将其翻转到真实项目中时:
And every time i have to flip it to the the "real" project:
- ProjectA
- ProjectB
我如何制作 ProjectA 与项目组一起打开的默认项目?
How can i make ProjectA the default project that opens with the project group?
#------------------------------------------------------------------------------
VERSION = BWS.01
#------------------------------------------------------------------------------
!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#------------------------------------------------------------------------------
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------
PROJECTS = ProjectA.exe ProjectB.exe
#------------------------------------------------------------------------------
default: $(PROJECTS)
#------------------------------------------------------------------------------
ProjectA.exe: ProjectA.dpr
$(DCC)
ProjectB.exe: childfolder\ProjectB.dpr
$(DCC)
推荐答案
远离理想状态,但我知道的唯一方式是
Far from ideal but the only way I know is like
- 在Delphi IDE中,右键单击默认值项目管理器中的项目,然后选择
稍后构建
。 - 或在.bpg文件中切换项目A和项目B的行。
这篇关于Delphi:如何在项目组中设置默认项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文