1
0
forked from 0ad/0ad

Link actor editor built in debug mode to debug version of atlasUI. Fixes #2655. Patch by Echelon9.

This was SVN commit r15608.
This commit is contained in:
JoshuaJB 2014-08-03 22:46:20 +00:00
parent efb889b79a
commit be9d69fd24

View File

@ -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
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
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