Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-10-2004, 08:44 PM
jmm jmm is online now
Registered User
 
Join Date: 07-29-2004
Posts: 10
VBP builds different configs than IDE by default

I am trying to emulate a bat-file based build process using VBP. I ran across a difference between VBP and the IDE regarding building a project where no configuration is specified (a "default" configuration). The VBP GUI does not seem to allow for a "default" configuration to be built.

E.G.:
When a bat-file containing this IDE command runs:

Msdev c:\build\foo\foo.dsw /MAKE /REBUILD

only the "Win32 Release" configuration is built. But when I build the same project using VBP, VBP tries to build many configurations. The .bld file used to build the project looks like this:

<?xml version='1.0'?>
<project version='5'>
<step action='Make VC6' type='0'>
<Attr type='11'>-1</Attr>
<FileVer type='11'>-1</FileVer>
<Filename>c:\build\foo\foo.dsw</Filename>
<Version>1.2.3</Version>
<VersionSel type='3'>2</VersionSel>
<ignorefail type='11'>-1</ignorefail>
<indent type='3'>2</indent>
<name>VC6 build</name>
</step>
</project>

Can I make VBP build the same *default* configuration as the IDE would?
Reply With Quote
  #2  
Old 09-12-2004, 09:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,012
No. The "default" configuration is a nebulous thing (IIRC, it might be the first configuration physically found in the .dsp file, but I don't believe it's documented anywhere and doubt it's guaranteed to work the same for all versions of Visual Studio). We don't like to rely on such questionable defaults; if you don't explicitly specify the configuration in a Make VC6 action, all configurations will be built.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:37 AM.


Copyright © 1999-2023 Kinook Software, Inc.