Move all the default build output locations to be under the main build folder

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-02-28 19:16:50 +00:00
parent 3f274356d0
commit 465ab1823a
2 changed files with 4 additions and 4 deletions

View File

@@ -366,7 +366,7 @@ class pushDir(object):
def getBuildDir(options):
BUILD_DIR = opj(phoenixDir(), 'bld')
BUILD_DIR = opj(phoenixDir(), 'build', 'wxbld')
if options.build_dir:
BUILD_DIR = os.path.abspath(options.build_dir)
if isDarwin:
@@ -1113,7 +1113,7 @@ def waf_py(options, args):
DESTDIR = options.installdir
PREFIX = options.prefix
wafBuildBase = posixjoin('build_waf', PYVER)
wafBuildBase = posixjoin('build', 'waf', PYVER)
if isWindows:
if PYTHON_ARCH == '64bit':
wafBuildBase = posixjoin(wafBuildBase, 'x64')
@@ -1216,7 +1216,7 @@ def clean_py(options, args):
else:
build_base += '/carbon'
deleteIfExists(build_base)
deleteIfExists('build_waf') # make this smarter later, or just use 'build' for waf too
deleteIfExists('build/waf')
files = list()
for wc in ['*.py', '*.pyc', '*.so', '*.dylib', '*.pyd', '*.pdb', '*.pi']:
files += glob.glob(opj(cfg.PKGDIR, wc))

View File

@@ -23,7 +23,7 @@ isWindows = sys.platform.startswith('win')
isDarwin = sys.platform == "darwin"
top = '.'
out = 'build_waf'
out = 'build/waf'
def options(opt):