[Cmake] RE: [Dart] Borland, Dart and make

William A. Hoffman billlist at nycap . rr . com
Mon, 27 Oct 2003 08:44:09 -0500


export PATH="/cygdrive/c/Borland/Bcc55/bin:${PATH}"



Here is my script to build cmake for borland:

export SAVEPATH="${PATH}"
export PATH="/cygdrive/c/Borland/Bcc55/bin:${PATH}"
cd /cygdrive/c/hoffman
/cygdrive/c/hoffman/buildScripts/delfiles.bat CMake_borland_dashboard
mkdir CMake_borland_dashboard
cd CMake_borland_dashboard
cat >> CMakeCache.txt <<EOF
DART_ROOT:PATH=c:/Hoffman/Dart
BUILDNAME:STRING=Windows-bcc32
EOF
/cygdrive/c/Program\ Files/CMake/bin/cmake ../CMakeDashboardSrc  -G"Borland Makefiles"
tclsh83.exe c:/Hoffman/Dart/Source/Client/DashboardManager.tcl DartConfiguration.tcl Nightly Start Update Configure
/cygdrive/c/Program\ Files/CMake/bin/cmake  ../CMakeDashboardSrc  -G"Borland Makefiles"
tclsh83.exe c:/Hoffman/Dart/Source/Client/DashboardManager.tcl DartConfiguration.tcl Nightly Build Test Submit
export PATH="${SAVEPATH}"

At 08:07 AM 10/27/2003, Wheeler, Frederick W (Research) wrote:
>Bill,
>
>That's odd about the lack of a -k option.  I assume that for Borland C++
>builds, CMake will only make Borland Make makefiles.
>
>I am also putting Borland first in the path, but that did not seem to be
>enough to get Dart to find the Borland make program.  Hmm.
>
>As a sanity check, will you please send me your borlandenv.sh file?  Do you
>start the Borland builds from cygwin?
>
>Thanks,
>Fred
>
>
>
>> -----Original Message-----
>> From: William A. Hoffman [mailto:billlist at nycap . rr . com]
>> Sent: Monday, October 27, 2003 7:34 AM
>> To: Wheeler, Frederick W (Research); List Dart (E-mail)
>> Subject: Re: [Dart] Borland, Dart and make
>> 
>> 
>> There is no -k for borland.   What I usually do is have a
>> borlandenv.sh file that I source that puts borland first in
>> the path.   Then I leave the command as make.
>> 
>> Basically, borland builds die at the first error right now
>> because of the -k.
>> 
>> 
>> -Bill
>> 
>> 
>> At 06:19 AM 10/27/2003, Wheeler, Frederick W (Research) wrote:
>> 
>> >Dart List,
>> >
>> >I'm setting up a Dart Borland C++ (free command line tools) 
>> build (for
>> >VXL and Cmake) for the first time.  I'm starting it from 
>> Cygwin which,
>> >of course, has installed its own make in /bin.  In spite of the fact
>> >that the Borland bin dir is first in the path, Dart seems to want to
>> >run Cygwin's GNU /bin/make instead of the make that Borland installs.
>> >This does not work.  Does Dart, or tclsh itself, override the path?
>> >
>> >I sort of got around this by setting this CMake variable
>> >
>> >  MAKECOMMAND:FILEPATH=c:/Borland/BCC55/Bin/make
>> >
>> >Now the right make gets run, but I suspect that the -k (or Borland
>> >equivalent?) option is not getting used when Dart runs make.
>> >That's just an educated guess at this point based on the 
>> results I see
>> >on the VXL dashboard.  Do I need to add the -k option to MAKECOMMAND?
>> >
>> >If you have a script or a piece of a script that you can send me that
>> >shows how you have configured CMake and Dart for Borland 
>> build, please
>> >send it to me.
>> >
>> >Thanks,
>> >Fred Wheeler
>> >_______________________________________________
>> >Dart mailing list
>> >Dart at public . kitware . com
>> >http://public . kitware . com/mailman/listinfo/dart 
>> 
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake