[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Installing 3rd party files w/o knowing all dependencies
From: |
Kolarik, Tony |
Subject: |
RE: Installing 3rd party files w/o knowing all dependencies |
Date: |
Thu, 12 Oct 2000 14:53:25 -0400 |
Yeah I guess I could do that... but there are an almost infinite number of
build targets within the tree and I want to avoid trying to name them all.
-- Tony K.
> -----Original Message-----
> From: Doug Treder [mailto:address@hidden
> Sent: Thursday, October 12, 2000 2:41 PM
> To: Kolarik, Tony
> Cc: address@hidden; Greg Spencer
> Subject: RE: Installing 3rd party files w/o knowing all dependencies
>
>
>
> I believe that if you specify a command line target, then the
> Defaults don't get run.
>
> Perhaps you should try to specify that your command line targets
> are dependent on the EXTBINS, if you want them copied as well
> when that target is specified on the command line.
>
> -Doug Treder
> webdev technologies
>
>
> On Thu, 12 Oct 2000, Kolarik, Tony wrote:
>
> > Ok, with the Default/InstallAs combination @EXTLIBS below
> get copied, but
> > only as required for linking. The @EXTBINS don't get copied
> at all, at least
> > not with a random cons command line target. I had hoped
> that Default was
> > saving all these targets and would then InstallAs() them
> since they were
> > default targets. Anything obviously wrong here?
> >
> > There must be some way to just copy a bunch of files if
> they don't exist -
> > other than a system() call I mean. It looks pretty nasty
> starting each run
> > of cons with a bunch of lines like the following!
> >
> > xcopy D:\p4\cons\export\release\bin\ace.dll
> > D:\p4\cons\ExtTools\ACE\lib\ace.dll /s/d/i
> > xcopy D:\p4\cons\export\release\bin\xmlparse.dll
> > D:\p4\cons\ExtTools\expat\bin\Release\xmlparse.dll /s/d/i
> > xcopy D:\p4\cons\export\release\bin\xmltok.dll
> > D:\p4\cons\ExtTools\expat\bin\Release\xmltok.dll /s/d/i
> >
> > Thanks,
> > -- Tony K.
> >
> > # in Construct...
> > if ($BUILDTYPE eq 'release') {
> > @EXTBINS= qw(
> > ExtTools/rwrelease/lib/tls7012d.dll
> > ExtTools/ACE/lib/ace.dll
>
> > ExtTools/expat/bin/Release/xmlparse.dll
>
> > ExtTools/expat/bin/Release/xmltok.dll
>
> > ExtTools/smartheap/bin/shsmp.dll
>
> > ExtTools/tcl/bin/Release/itcl31.dll
>
> > ExtTools/tcl/bin/Release/tcl82.dll
>
> > ExtTools/tcl/bin/Release/tclpip82.dll
>
> > ExtTools/tcl/bin/Release/blt24.dll
>
> > ExtTools/tcl/bin/Release/itclsh31.dll
>
> > ExtTools/tcl/bin/Release/itk31.dll
>
> > ExtTools/tcl/bin/Release/tk82.dll
>
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1_1.dll
> > ExtTools/microsoft/rtl/vc/release/MSVCRT.DLL
>
> > ExtTools/microsoft/rtl/vc/release/MSVCIRT.DLL
>
> > ExtTools/microsoft/rtl/vc/release/MSVCP60.DLL
>
> > );
> >
> > @EXTLIBS = qw(
> > ExtTools/rwrelease/lib/tls12d.lib
> > ExtTools/ACE/lib/ace.lib
>
> > ExtTools/expat/lib/Release/xmlparse.lib
>
> > ExtTools/expat/lib/Release/xmltok.lib
>
> > ExtTools/zlib/lib/Release/zlib.lib
>
> > ExtTools/smartheap/msvc/shdsmpmt.lib
>
> > ExtTools/tcl/lib/Release/tcl82r.lib
>
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1.lib
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1.exp
> > ExtTools/CppUnit/ms/culib/release/culib.lib
> > );
> >
> > for $src (@EXTLIBS) {
> > my $target = "$LIB" . substr( $src, rindex($src, '/'));
> > print "target: $target\t src: $src\n";
> > $CONS->InstallAs($target, $src);
> > Default($target);
> > }
> >
> > for $src (@EXTBINS) {
> > my $target = "$BIN" . substr( $src, rindex($src, '/'));
> > print "target: $target\t src: $src\n";
> > $CONS->InstallAs($target, $src);
> > Default($target);
> > }
> > }
> >
> > Screen dump...
> >
> > D:\p4\cons>perl cons export\release\bin\AeEngine.dll
> > target: #export/release/lib/tls12d.lib src:
> > ExtTools/rwrelease/lib/tls12d.lib
> > target: #export/release/lib/ace.lib src:
> ExtTools/ACE/lib/ace.lib
> > target: #export/release/lib/xmlparse.lib src:
> > ExtTools/expat/lib/Release/xmlparse.lib
> > target: #export/release/lib/xmltok.lib src:
> > ExtTools/expat/lib/Release/xmltok.lib
> > target: #export/release/lib/zlib.lib src:
> > ExtTools/zlib/lib/Release/zlib.lib
> > target: #export/release/lib/shdsmpmt.lib src:
> > ExtTools/smartheap/msvc/shdsmpmt.lib
> > target: #export/release/lib/tcl82r.lib src:
> > ExtTools/tcl/lib/Release/tcl82r.lib
> > target: #export/release/lib/xerces-c_1.lib src:
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1.lib
> > target: #export/release/lib/xerces-c_1.exp src:
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1.exp
> > target: #export/release/lib/culib.lib src:
> > ExtTools/CppUnit/ms/culib/release/culib.lib
> > target: #export/release/bin/tls7012d.dll src:
> > ExtTools/rwrelease/lib/tls7012d.dll
> > target: #export/release/bin/ace.dll src:
> ExtTools/ACE/lib/ace.dll
> > target: #export/release/bin/xmlparse.dll src:
> > ExtTools/expat/bin/Release/xmlparse.dll
> > target: #export/release/bin/xmltok.dll src:
> > ExtTools/expat/bin/Release/xmltok.dll
> > target: #export/release/bin/shsmp.dll src:
> > ExtTools/smartheap/bin/shsmp.dll
> > target: #export/release/bin/itcl31.dll src:
> > ExtTools/tcl/bin/Release/itcl31.dll
> > target: #export/release/bin/tcl82.dll src:
> > ExtTools/tcl/bin/Release/tcl82.dll
> > target: #export/release/bin/tclpip82.dll src:
> > ExtTools/tcl/bin/Release/tclpip82.dll
> > target: #export/release/bin/blt24.dll src:
> > ExtTools/tcl/bin/Release/blt24.dll
> > target: #export/release/bin/itclsh31.dll src:
> > ExtTools/tcl/bin/Release/itclsh31.dll
> > target: #export/release/bin/itk31.dll src:
> > ExtTools/tcl/bin/Release/itk31.dll
> > target: #export/release/bin/tk82.dll src:
> > ExtTools/tcl/bin/Release/tk82.dll
> > target: #export/release/bin/xerces-c_1_1.dll src:
> > ExtTools/Xerces/Build/Win32/VC6/Release/xerces-c_1_1.dll
> > target: #export/release/bin/MSVCRT.DLL src:
> > ExtTools/microsoft/rtl/vc/release/MSVCRT.DLL
> > target: #export/release/bin/MSVCIRT.DLL src:
> > ExtTools/microsoft/rtl/vc/release/MSVCIRT.DLL
> > target: #export/release/bin/MSVCP60.DLL src:
> > ExtTools/microsoft/rtl/vc/release/MSVCP60.DLL
> > cons: "export\release\bin\AeEngine.dll" is up-to-date.
> >
> > _______________________________________________
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/cons-discuss
> > Cons URL: http://www.dsmit.com/cons/
> >
>
>
> _______________________________________________
> address@hidden
> http://mail.gnu.org/mailman/listinfo/cons-discuss
> Cons URL: http://www.dsmit.com/cons/
>