SConstruct (2781:b689ee340f27) | SConstruct (2786:eb979e479472) |
---|---|
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 --- 145 unchanged lines hidden (view full) --- 154# and modified according to each selected configuration. 155# 156################################################### 157 158env = Environment(ENV = os.environ, # inherit user's environment vars 159 ROOT = ROOT, 160 SRCDIR = SRCDIR) 161 | 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 --- 145 unchanged lines hidden (view full) --- 154# and modified according to each selected configuration. 155# 156################################################### 157 158env = Environment(ENV = os.environ, # inherit user's environment vars 159 ROOT = ROOT, 160 SRCDIR = SRCDIR) 161 |
162env.SConsignFile("sconsign") | 162env.SConsignFile(os.path.join(build_root,"sconsign")) |
163 164# Default duplicate option is to use hard links, but this messes up 165# when you use emacs to edit a file in the target dir, as emacs moves 166# file to file~ then copies to file, breaking the link. Symbolic 167# (soft) links work better. 168env.SetOption('duplicate', 'soft-copy') 169 170# I waffle on this setting... it does avoid a few painful but --- 340 unchanged lines hidden --- | 163 164# Default duplicate option is to use hard links, but this messes up 165# when you use emacs to edit a file in the target dir, as emacs moves 166# file to file~ then copies to file, breaking the link. Symbolic 167# (soft) links work better. 168env.SetOption('duplicate', 'soft-copy') 169 170# I waffle on this setting... it does avoid a few painful but --- 340 unchanged lines hidden --- |