[Dart] Borland and NMake builds
Miller, James V (CRD)
millerjv at crd.ge.com
Thu, 24 Jan 2002 08:39:28 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C1A4DC.8B8FEBF0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C1A4DC.8B8FEBF0"
------_=_NextPart_001_01C1A4DC.8B8FEBF0
Content-Type: text/plain;
charset="iso-8859-1"
Do the Borland and NMake builds put executables in "configuration" subdirectories? I.e. do they put
executables in a "Release" or "Debug" or "RelWithDebInfo", etc. subdirectory?
When Dart looks for tests to run, it looks in the current directory, then the subdirectories
"Release", "Debug", "MinSizeRel", and "RelWithDebInfo" (in that order). The first directory that has
an executable with the proper name is the one that it runs.
Unfortunately, this means if you did a Release build of your project, then ran a Nightly or
Experimental using the Debug configuration, Dart would build the Debug version but run the Release
versions of the exe's as the tests. These Release exe's could be very far out of date with the
current source tree.
What I would like to do for msdev builds, it peek at the MAKE_COMMAND and decide what configuration
was built by Dart and only look for executables in the current directory and that specific
configuration subdirectory.
This will work fine for msdev builds. But I do not know what the impact to Borland or NMake builds
may be. I'd like to remove the naive search pattern if it is not needed for the Borland and NMake
builds. If the Borland and NMake builds do put executables in configuration specific subdirectories,
what does the MAKE_COMMAND look like to specify the configuration?
Jim Miller
_____________________________________
Visualization & Computer Vision
GE Corporate Research & Development
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301
millerjv at crd.ge.com < mailto:millerjv at crd.ge.com <mailto:millerjv at crd.ge.com> >
(518) 387-4005, Dial Comm: 8*833-4005,
Cell: (518) 505-7065, Fax: (518) 387-6981
------_=_NextPart_001_01C1A4DC.8B8FEBF0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=751372813-24012002><FONT size=2>Do the Borland and NMake builds
put executables in "configuration" subdirectories? I.e. do they put executables
in a "Release" or "Debug" or "RelWithDebInfo", etc.
subdirectory?</FONT></SPAN></DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2>When Dart looks for tests to
run, it looks in the current directory, then the subdirectories "Release",
"Debug", "MinSizeRel", and "RelWithDebInfo" (in that order). The first
directory that has an executable with the proper name is the one that it
runs.</FONT></SPAN></DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2>Unfortunately, this means if
you did a Release build of your project, then ran a Nightly or Experimental
using the Debug configuration, Dart would build the Debug version but run the
Release versions of the exe's as the tests. These Release exe's could be very
far out of date with the current source tree.</FONT></SPAN></DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2>What I would like to do for
msdev builds, it peek at the MAKE_COMMAND and decide what configuration was
built by Dart and only look for executables in the current directory and that
specific configuration subdirectory.</FONT></SPAN></DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2>This will work fine for msdev
builds. But I do not know what the impact to Borland or NMake builds may
be. I'd like to remove the naive search pattern if it is not needed for the
Borland and NMake builds. If the Borland and NMake builds do put executables in
configuration specific subdirectories, what does the MAKE_COMMAND look like to
specify the configuration?</FONT></SPAN></DIV>
<DIV><SPAN class=751372813-24012002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=751372813-24012002></SPAN> </DIV><BR>
<P><B><FONT face="Comic Sans MS" color=#000080>Jim Miller</FONT></B>
<BR><B><I><FONT face=Arial color=#ff0000
size=2>_____________________________________</FONT></I></B><I></I><BR><I></I><I><FONT
face=Arial color=#000000 size=1>Visualization & Computer Vision<BR>GE
Corporate Research & Development<BR>Bldg. KW, Room C218B<BR>P.O. Box 8,
Schenectady NY 12301<BR><BR></FONT><U><FONT face=Arial color=#0000ff
size=1>millerjv at crd.ge.com <<A
href="mailto:millerjv at crd.ge.com">mailto:millerjv at crd.ge.com</A>></FONT></U></I><BR><I><FONT
face=Arial color=#000000 size=1>(518) 387-4005, Dial Comm: 8*833-4005,
</FONT></I><BR><I><FONT face=Arial color=#000000 size=1>Cell: (518) 505-7065,
Fax: (518) 387-6981</FONT></I> </P><BR>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C1A4DC.8B8FEBF0--
------_=_NextPart_000_01C1A4DC.8B8FEBF0
Content-Type: application/octet-stream;
name="Miller, James V (CRD).vcf"
Content-Disposition: attachment;
filename="Miller, James V (CRD).vcf"
BEGIN:VCARD
VERSION:2.1
N:Miller;James
FN:Miller, James V (CRD)
ORG:CRD;ESL
TITLE:Computer Scientist
TEL;WORK;VOICE:*833-4005
TEL;WORK;VOICE:1 518 387-4005
ADR;WORK:;KW-C218B;P.O. Box 8;Schenectady;New York;12301;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:KW-C218B=0D=0AP.O. Box 8=0D=0ASchenectady, New York 12301=0D=0AUSA
EMAIL;PREF;INTERNET:millerjv at crd.ge.com
REV:20010420T140329Z
END:VCARD
------_=_NextPart_000_01C1A4DC.8B8FEBF0--