From e01b1ef3b644a82d91eb480ebb9bb099e8d52b72 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Sun, 6 Oct 2013 10:45:10 +1100 Subject: [PATCH] Fixed bug where debug and release libs would have the same file path. This broke make when switching between debug and release configs. --- RecastDemo/premake4.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/RecastDemo/premake4.lua b/RecastDemo/premake4.lua index 300eb9f..a58e613 100644 --- a/RecastDemo/premake4.lua +++ b/RecastDemo/premake4.lua @@ -24,13 +24,13 @@ solution "recastnavigation" configuration "Debug*" defines { "DEBUG" } flags { "Symbols" } - targetdir ( "Build/" .. action .. "/Debug" ) + targetdir ( todir .. "/lib/Debug" ) -- release configs configuration "Release*" defines { "NDEBUG" } flags { "Optimize" } - targetdir ( "Build/" .. action .. "/Release" ) + targetdir ( todir .. "/lib/Release" ) -- windows specific configuration "windows" @@ -50,7 +50,6 @@ project "DebugUtils" "../DebugUtils/Include/*.h", "../DebugUtils/Source/*.cpp" } - targetdir (todir .. "/lib") project "Detour" language "C++" @@ -62,7 +61,6 @@ project "Detour" "../Detour/Include/*.h", "../Detour/Source/*.cpp" } - targetdir (todir .. "/lib") project "DetourCrowd" language "C++" @@ -76,7 +74,6 @@ project "DetourCrowd" "../DetourCrowd/Include/*.h", "../DetourCrowd/Source/*.cpp" } - targetdir (todir .. "/lib") project "DetourTileCache" language "C++" @@ -90,7 +87,6 @@ project "DetourTileCache" "../DetourTileCache/Include/*.h", "../DetourTileCache/Source/*.cpp" } - targetdir (todir .. "/lib") project "Recast" language "C++" @@ -102,7 +98,6 @@ project "Recast" "../Recast/Include/*.h", "../Recast/Source/*.cpp" } - targetdir (todir .. "/lib") project "RecastDemo" language "C++"