From 8b24a9b498e03b8ed9eb7cbe3a8168fa495cb9b0 Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 11 Dec 2008 00:45:14 +0000 Subject: [PATCH] object files now go into Build/system-arch git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1496 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 5fe5eb467a..1bb9a6ad1b 100644 --- a/SConstruct +++ b/SConstruct @@ -173,6 +173,9 @@ tests = {'CheckWXConfig' : wxconfig.CheckWXConfig, 'CheckPKG' : utils.CheckPKG, 'CheckSDL' : utils.CheckSDL} +build_dir = os.path.join('Build', platform.system() + '-' + platform.machine() + os.sep) +VariantDir(build_dir, '.', duplicate=0) + conf = env.Configure(custom_tests = tests, config_h="Source/Core/Common/Src/Config.h") @@ -274,7 +277,8 @@ Export('env') for subdir in dirs: SConscript( subdir + os.sep + 'SConscript', - duplicate = 0 + variant_dir = build_dir + subdir + os.sep, + duplicate=0 ) # Data install