SConstruct (3584:8c3cdb2c001c) SConstruct (3643:d9700ac6ca6d)
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

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

170# and modified according to each selected configuration.
171#
172###################################################
173
174env = Environment(ENV = os.environ, # inherit user's environment vars
175 ROOT = ROOT,
176 SRCDIR = SRCDIR)
177
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

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

170# and modified according to each selected configuration.
171#
172###################################################
173
174env = Environment(ENV = os.environ, # inherit user's environment vars
175 ROOT = ROOT,
176 SRCDIR = SRCDIR)
177
178#Parse CC/CXX early so that we use the correct compiler for
179# to test for dependencies/versions/libraries/includes
180if ARGUMENTS.get('CC', None):
181 env['CC'] = ARGUMENTS.get('CC')
182
183if ARGUMENTS.get('CXX', None):
184 env['CXX'] = ARGUMENTS.get('CXX')
185
178env.SConsignFile(os.path.join(build_root,"sconsign"))
179
180# Default duplicate option is to use hard links, but this messes up
181# when you use emacs to edit a file in the target dir, as emacs moves
182# file to file~ then copies to file, breaking the link. Symbolic
183# (soft) links work better.
184env.SetOption('duplicate', 'soft-copy')
185

--- 433 unchanged lines hidden ---
186env.SConsignFile(os.path.join(build_root,"sconsign"))
187
188# Default duplicate option is to use hard links, but this messes up
189# when you use emacs to edit a file in the target dir, as emacs moves
190# file to file~ then copies to file, breaking the link. Symbolic
191# (soft) links work better.
192env.SetOption('duplicate', 'soft-copy')
193

--- 433 unchanged lines hidden ---