[Scons-users] build dependencies question(s)
Nikola Radovanovic
nikola.radovanovic at schneider-electric-dms.com
Fri Nov 16 06:52:44 EST 2012
hi,
i have a few question(s) regarding build order in SCons:
if i have multiple Environments: say e1 and e2; where for example e1 is a C++ dll and e2 is say PASCAL exe consuming C++ dll
* is it possible to have 2 different SConscript files, each holding one of e's and SConstruct file calling SConscripts and synchronizing results. ie:
s1 SConscript:
e1 = Environment(...) # C++ dll build
res = e1.SharedLibrary('test.dll', ...)
Return('res')
s2 SConscript:
e2 = Environment(...) # PASCAL exe build
res = e2.Program('test.exe', ...)
Return('res')
SConstruct
res_2 = SConscript('s2')
res_1 = SConscript('s1')
Depends(res_2, res_1) # this will not help i presume?
i have deliberately wrote res_2 before res_1, but in reallity, i want s1 to be called and finished before s2. cant that be done?
* is there any way to force execution order of different Environments()?
for some time i'm experimenting with SCons trying to find the way to improve our linux/windows build constisting out of C++, Delphi, JAVA code but with not much luck.
10x in advance
--
__________________________________________________________________________________________________________________
Nikola Radovanovic | Schneider Electric DMS NS | Smart Grid IT | SERBIA | CPASv2 team deputy
Phone: +381 (0)21 488 3633 | Fax: +381 (0)21 488 3789 | Mobile: +381 (0)64 29 74 528
Email: nikola.radovanovic at schneider-electric-dms.com<mailto:nikola.radovanovic at schneider-electric-dms.com> | Site: www.schneider-electric-dms.com<http://www.schneider-electric-dms.com/> | Address: Narodnog fronta 25A-D, 21000 Novi Sad
*** Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121116/7f42f929/attachment.html>
More information about the Scons-users
mailing list