Deleted Added
sdiff udiff text old ( 4202:f7a05daec670 ) new ( 4494:b7c909b5a5e9 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 168 unchanged lines hidden (view full) ---

177# Set up the default build environment. This environment is copied
178# and modified according to each selected configuration.
179#
180###################################################
181
182env = Environment(ENV = os.environ, # inherit user's environment vars
183 ROOT = ROOT,
184 SRCDIR = SRCDIR)
185
186#Parse CC/CXX early so that we use the correct compiler for
187# to test for dependencies/versions/libraries/includes
188if ARGUMENTS.get('CC', None):
189 env['CC'] = ARGUMENTS.get('CC')
190
191if ARGUMENTS.get('CXX', None):
192 env['CXX'] = ARGUMENTS.get('CXX')
193
194Export('env')
195
196env.SConsignFile(joinpath(build_root,"sconsign"))
197
198# Default duplicate option is to use hard links, but this messes up
199# when you use emacs to edit a file in the target dir, as emacs moves
200# file to file~ then copies to file, breaking the link. Symbolic
201# (soft) links work better.
202env.SetOption('duplicate', 'soft-copy')
203

--- 474 unchanged lines hidden ---