From: Mikko Rasa Date: Wed, 18 Jul 2012 18:13:54 +0000 (+0300) Subject: Using different out directories per build type is more trouble than it's worth X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0cf7bb122ef4c0fc46fbb2aaaf1a9d6d5ccec0f1;p=builder.git Using different out directories per build type is more trouble than it's worth --- diff --git a/source/sourcepackage.cpp b/source/sourcepackage.cpp index 22330b2..ea63655 100644 --- a/source/sourcepackage.cpp +++ b/source/sourcepackage.cpp @@ -61,11 +61,10 @@ FS::Path SourcePackage::get_temp_dir() const FS::Path SourcePackage::get_out_dir() const { const Architecture &arch = builder.get_current_arch(); - string detail = (build_type ? build_type->get_name() : string()); if(arch.is_native()) - return source_dir/detail; + return source_dir; else - return source_dir/arch.get_name()/detail; + return source_dir/arch.get_name(); } void SourcePackage::create_build_info()