mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
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:
6
build.py
6
build.py
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user