Fixed bug where debug and release libs would have the same file path.

This broke make when switching between debug and release configs.
This commit is contained in:
Cameron Hart 2013-10-06 10:45:10 +11:00
parent bbcb11fd14
commit e01b1ef3b6

View File

@ -24,13 +24,13 @@ solution "recastnavigation"
configuration "Debug*" configuration "Debug*"
defines { "DEBUG" } defines { "DEBUG" }
flags { "Symbols" } flags { "Symbols" }
targetdir ( "Build/" .. action .. "/Debug" ) targetdir ( todir .. "/lib/Debug" )
-- release configs -- release configs
configuration "Release*" configuration "Release*"
defines { "NDEBUG" } defines { "NDEBUG" }
flags { "Optimize" } flags { "Optimize" }
targetdir ( "Build/" .. action .. "/Release" ) targetdir ( todir .. "/lib/Release" )
-- windows specific -- windows specific
configuration "windows" configuration "windows"
@ -50,7 +50,6 @@ project "DebugUtils"
"../DebugUtils/Include/*.h", "../DebugUtils/Include/*.h",
"../DebugUtils/Source/*.cpp" "../DebugUtils/Source/*.cpp"
} }
targetdir (todir .. "/lib")
project "Detour" project "Detour"
language "C++" language "C++"
@ -62,7 +61,6 @@ project "Detour"
"../Detour/Include/*.h", "../Detour/Include/*.h",
"../Detour/Source/*.cpp" "../Detour/Source/*.cpp"
} }
targetdir (todir .. "/lib")
project "DetourCrowd" project "DetourCrowd"
language "C++" language "C++"
@ -76,7 +74,6 @@ project "DetourCrowd"
"../DetourCrowd/Include/*.h", "../DetourCrowd/Include/*.h",
"../DetourCrowd/Source/*.cpp" "../DetourCrowd/Source/*.cpp"
} }
targetdir (todir .. "/lib")
project "DetourTileCache" project "DetourTileCache"
language "C++" language "C++"
@ -90,7 +87,6 @@ project "DetourTileCache"
"../DetourTileCache/Include/*.h", "../DetourTileCache/Include/*.h",
"../DetourTileCache/Source/*.cpp" "../DetourTileCache/Source/*.cpp"
} }
targetdir (todir .. "/lib")
project "Recast" project "Recast"
language "C++" language "C++"
@ -102,7 +98,6 @@ project "Recast"
"../Recast/Include/*.h", "../Recast/Include/*.h",
"../Recast/Source/*.cpp" "../Recast/Source/*.cpp"
} }
targetdir (todir .. "/lib")
project "RecastDemo" project "RecastDemo"
language "C++" language "C++"