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*"
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++"