From be9d69fd242f3a430c35a443e40b313e1e64e042 Mon Sep 17 00:00:00 2001 From: JoshuaJB Date: Sun, 3 Aug 2014 22:46:20 +0000 Subject: [PATCH] Link actor editor built in debug mode to debug version of atlasUI. Fixes #2655. Patch by Echelon9. This was SVN commit r15608. --- build/premake/premake4.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build/premake/premake4.lua b/build/premake/premake4.lua index cdea7ea2c1..9f2401a1af 100644 --- a/build/premake/premake4.lua +++ b/build/premake/premake4.lua @@ -1050,9 +1050,17 @@ function setup_atlas_project(project_name, target_type, rel_source_dirs, rel_inc if target_type == "SharedLib" then if _OPTIONS["macosx-bundle"] then -- If we're building a bundle, it will be in ../Frameworks - linkoptions { "-install_name @executable_path/../Frameworks/lib"..project_name..".dylib" } + configuration "Debug" + linkoptions { "-install_name @executable_path/../Frameworks/lib"..project_name.."_dbg.dylib" } + configuration "Release" + linkoptions { "-install_name @executable_path/../Frameworks/lib"..project_name..".dylib" } + configuration { } else - linkoptions { "-install_name @executable_path/lib"..project_name..".dylib" } + configuration "Debug" + linkoptions { "-install_name @executable_path/lib"..project_name.."_dbg.dylib" } + configuration "Release" + linkoptions { "-install_name @executable_path/lib"..project_name..".dylib" } + configuration { } end end end