Unbork Xcode CMake Release and RelWithDebInfo builds.
Unbork Xcode CMake Release and RelWithDebInfo builds.

...at the cost of a zillion warnings about identical Makefile commands.
I'm not entirely sure what's up with this, since they should apply to
different configurations.

Somewhere along the way, an extra "Debug" or "Release" started getting
mangled into the path for Swift libraries, which is already within a
"Debug"/"Release" directory. Someone (Joe?) had already countered this
for "Debug", but not for any other configurations. This wasn't being
noticed because it would fall back to the old libraries unless you
cleared out your build directory.

While here, add swiftFoundation as a test dependency when we have a
MODULES_SDK set.

Swift SVN r4827

swiftix/swift,IngmarStein/swift,benlangmuir/swift,milseman/swift,CodaFi/swift,sschiau/swift,tardieu/swift,huonw/swift,rudkx/swift,manavgabhawala/swift,hughbe/swift,amraboelela/swift,therealbnut/swift,amraboelela/swift,manavgabhawala/swift,CodaFi/swift,arvedviehweger/swift,uasys/swift,kstaring/swift,benlangmuir/swift,kusl/swift,tkremenek/swift,swiftix/swift,benlangmuir/swift,rudkx/swift,gregomni/swift,felix91gr/swift,jopamer/swift,arvedviehweger/swift,swiftix/swift.old,tinysun212/swift-windows,huonw/swift,swiftix/swift.old,cbrentharris/swift,jckarter/swift,mightydeveloper/swift,apple/swift,ben-ng/swift,devincoughlin/swift,russbishop/swift,kperryua/swift,MukeshKumarS/Swift,gribozavr/swift,kusl/swift,roambotics/swift,gribozavr/swift,bitjammer/swift,felix91gr/swift,benlangmuir/swift,LeoShimonaka/swift,swiftix/swift.old,tjw/swift,amraboelela/swift,SwiftAndroid/swift,alblue/swift,xedin/swift,Jnosh/swift,jmgc/swift,deyton/swift,stephentyrone/swift,kusl/swift,khizkhiz/swift,practicalswift/swift,shajrawi/swift,kentya6/swift,danielmartin/swift,huonw/swift,sdulal/swift,sschiau/swift,adrfer/swift,OscarSwanros/swift,huonw/swift,atrick/swift,CodaFi/swift,devincoughlin/swift,CodaFi/swift,felix91gr/swift,harlanhaskins/swift,swiftix/swift.old,IngmarStein/swift,jtbandes/swift,shajrawi/swift,JaSpa/swift,uasys/swift,djwbrown/swift,deyton/swift,dreamsxin/swift,uasys/swift,austinzheng/swift,tinysun212/swift-windows,shahmishal/swift,airspeedswift/swift,nathawes/swift,amraboelela/swift,frootloops/swift,modocache/swift,johnno1962d/swift,frootloops/swift,xwu/swift,deyton/swift,sdulal/swift,IngmarStein/swift,johnno1962d/swift,brentdax/swift,OscarSwanros/swift,ahoppen/swift,johnno1962d/swift,jckarter/swift,parkera/swift,huonw/swift,khizkhiz/swift,mightydeveloper/swift,tkremenek/swift,milseman/swift,gottesmm/swift,natecook1000/swift,SwiftAndroid/swift,gottesmm/swift,glessard/swift,gottesmm/swift,parkera/swift,gribozavr/swift,ken0nek/swift,gribozavr/swift,slavapestov/swift,khizkhiz/swift,Jnosh/swift,milseman/swift,kentya6/swift,devincoughlin/swift,Jnosh/swift,KrishMunot/swift,karwa/swift,parkera/swift,nathawes/swift,dduan/swift,JaSpa/swift,tjw/swift,roambotics/swift,lorentey/swift,JaSpa/swift,Ivacker/swift,kstaring/swift,allevato/swift,emilstahl/swift,kstaring/swift,OscarSwanros/swift,djwbrown/swift,harlanhaskins/swift,huonw/swift,djwbrown/swift,lorentey/swift,airspeedswift/swift,adrfer/swift,kperryua/swift,IngmarStein/swift,KrishMunot/swift,jopamer/swift,SwiftAndroid/swift,natecook1000/swift,IngmarStein/swift,austinzheng/swift,mightydeveloper/swift,parkera/swift,return/swift,jtbandes/swift,adrfer/swift,johnno1962d/swift,gmilos/swift,gribozavr/swift,JaSpa/swift,apple/swift,hooman/swift,xwu/swift,adrfer/swift,apple/swift,ahoppen/swift,tardieu/swift,zisko/swift,roambotics/swift,mightydeveloper/swift,kusl/swift,therealbnut/swift,kentya6/swift,kentya6/swift,lorentey/swift,tkremenek/swift,CodaFi/swift,milseman/swift,deyton/swift,hooman/swift,modocache/swift,milseman/swift,KrishMunot/swift,natecook1000/swift,deyton/swift,djwbrown/swift,xedin/swift,mightydeveloper/swift,ben-ng/swift,tjw/swift,dduan/swift,shahmishal/swift,xedin/swift,dreamsxin/swift,ken0nek/swift,LeoShimonaka/swift,gribozavr/swift,parkera/swift,arvedviehweger/swift,uasys/swift,sdulal/swift,brentdax/swift,brentdax/swift,Ivacker/swift,hughbe/swift,calebd/swift,shahmishal/swift,frootloops/swift,hooman/swift,allevato/swift,danielmartin/swift,cbrentharris/swift,hooman/swift,Jnosh/swift,brentdax/swift,danielmartin/swift,zisko/swift,austinzheng/swift,gmilos/swift,shahmishal/swift,jmgc/swift,frootloops/swift,MukeshKumarS/Swift,jopamer/swift,rudkx/swift,atrick/swift,bitjammer/swift,Ivacker/swift,devincoughlin/swift,rudkx/swift,manavgabhawala/swift,stephentyrone/swift,xwu/swift,bitjammer/swift,shajrawi/swift,zisko/swift,Jnosh/swift,modocache/swift,shajrawi/swift,ken0nek/swift,karwa/swift,modocache/swift,MukeshKumarS/Swift,amraboelela/swift,xwu/swift,therealbnut/swift,felix91gr/swift,ahoppen/swift,codestergit/swift,nathawes/swift,russbishop/swift,russbishop/swift,tinysun212/swift-windows,frootloops/swift,gregomni/swift,jopamer/swift,jtbandes/swift,KrishMunot/swift,sdulal/swift,codestergit/swift,brentdax/swift,hooman/swift,codestergit/swift,IngmarStein/swift,JGiola/swift,emilstahl/swift,aschwaighofer/swift,aschwaighofer/swift,codestergit/swift,kentya6/swift,ken0nek/swift,calebd/swift,uasys/swift,kstaring/swift,huonw/swift,jopamer/swift,ben-ng/swift,kusl/swift,airspeedswift/swift,glessard/swift,jckarter/swift,calebd/swift,stephentyrone/swift,jtbandes/swift,jmgc/swift,kperryua/swift,stephentyrone/swift,emilstahl/swift,devincoughlin/swift,jopamer/swift,Ivacker/swift,Ivacker/swift,OscarSwanros/swift,stephentyrone/swift,karwa/swift,austinzheng/swift,kperryua/swift,sschiau/swift,manavgabhawala/swift,return/swift,danielmartin/swift,slavapestov/swift,swiftix/swift.old,slavapestov/swift,Jnosh/swift,karwa/swift,khizkhiz/swift,ben-ng/swift,manavgabhawala/swift,djwbrown/swift,Ivacker/swift,sschiau/swift,djwbrown/swift,parkera/swift,alblue/swift,slavapestov/swift,deyton/swift,ken0nek/swift,JGiola/swift,dduan/swift,rudkx/swift,nathawes/swift,calebd/swift,emilstahl/swift,karwa/swift,glessard/swift,roambotics/swift,swiftix/swift,gottesmm/swift,natecook1000/swift,kstaring/swift,JGiola/swift,sdulal/swift,deyton/swift,xwu/swift,hooman/swift,OscarSwanros/swift,therealbnut/swift,gottesmm/swift,ben-ng/swift,sdulal/swift,shajrawi/swift,milseman/swift,lorentey/swift,jmgc/swift,MukeshKumarS/Swift,OscarSwanros/swift,dduan/swift,tardieu/swift,swiftix/swift,emilstahl/swift,jckarter/swift,apple/swift,hughbe/swift,MukeshKumarS/Swift,xedin/swift,natecook1000/swift,gmilos/swift,russbishop/swift,alblue/swift,jopamer/swift,KrishMunot/swift,bitjammer/swift,tjw/swift,gmilos/swift,dduan/swift,shahmishal/swift,uasys/swift,mightydeveloper/swift,amraboelela/swift,hooman/swift,SwiftAndroid/swift,xedin/swift,johnno1962d/swift,shahmishal/swift,IngmarStein/swift,glessard/swift,ahoppen/swift,OscarSwanros/swift,djwbrown/swift,SwiftAndroid/swift,mightydeveloper/swift,jckarter/swift,harlanhaskins/swift,emilstahl/swift,uasys/swift,arvedviehweger/swift,natecook1000/swift,shajrawi/swift,calebd/swift,sdulal/swift,codestergit/swift,airspeedswift/swift,frootloops/swift,LeoShimonaka/swift,xedin/swift,nathawes/swift,ken0nek/swift,harlanhaskins/swift,ben-ng/swift,brentdax/swift,felix91gr/swift,glessard/swift,zisko/swift,zisko/swift,airspeedswift/swift,gottesmm/swift,benlangmuir/swift,lorentey/swift,khizkhiz/swift,MukeshKumarS/Swift,practicalswift/swift,benlangmuir/swift,xedin/swift,SwiftAndroid/swift,tjw/swift,jmgc/swift,shahmishal/swift,jtbandes/swift,gregomni/swift,danielmartin/swift,return/swift,xwu/swift,JaSpa/swift,frootloops/swift,manavgabhawala/swift,tkremenek/swift,bitjammer/swift,cbrentharris/swift,swiftix/swift.old,shajrawi/swift,sschiau/swift,modocache/swift,harlanhaskins/swift,CodaFi/swift,karwa/swift,aschwaighofer/swift,tjw/swift,kperryua/swift,therealbnut/swift,kusl/swift,emilstahl/swift,jmgc/swift,allevato/swift,jtbandes/swift,swiftix/swift.old,karwa/swift,tardieu/swift,shahmishal/swift,dduan/swift,hughbe/swift,hughbe/swift,return/swift,kusl/swift,gmilos/swift,sschiau/swift,gregomni/swift,tkremenek/swift,JaSpa/swift,cbrentharris/swift,SwiftAndroid/swift,gribozavr/swift,sdulal/swift,rudkx/swift,therealbnut/swift,tinysun212/swift-windows,gottesmm/swift,glessard/swift,milseman/swift,modocache/swift,atrick/swift,roambotics/swift,felix91gr/swift,johnno1962d/swift,sschiau/swift,gmilos/swift,ben-ng/swift,cbrentharris/swift,atrick/swift,calebd/swift,practicalswift/swift,tardieu/swift,allevato/swift,harlanhaskins/swift,airspeedswift/swift,jtbandes/swift,danielmartin/swift,tjw/swift,JGiola/swift,LeoShimonaka/swift,jckarter/swift,adrfer/swift,emilstahl/swift,aschwaighofer/swift,cbrentharris/swift,lorentey/swift,lorentey/swift,jckarter/swift,LeoShimonaka/swift,devincoughlin/swift,atrick/swift,arvedviehweger/swift,slavapestov/swift,CodaFi/swift,johnno1962d/swift,xedin/swift,khizkhiz/swift,brentdax/swift,Ivacker/swift,devincoughlin/swift,slavapestov/swift,JaSpa/swift,harlanhaskins/swift,kentya6/swift,karwa/swift,roambotics/swift,LeoShimonaka/swift,arvedviehweger/swift,aschwaighofer/swift,ahoppen/swift,russbishop/swift,adrfer/swift,kstaring/swift,KrishMunot/swift,allevato/swift,calebd/swift,Ivacker/swift,gregomni/swift,nathawes/swift,Jnosh/swift,gribozavr/swift,swiftix/swift,aschwaighofer/swift,danielmartin/swift,therealbnut/swift,lorentey/swift,KrishMunot/swift,LeoShimonaka/swift,austinzheng/swift,kperryua/swift,tardieu/swift,nathawes/swift,allevato/swift,apple/swift,modocache/swift,amraboelela/swift,hughbe/swift,stephentyrone/swift,tinysun212/swift-windows,tardieu/swift,felix91gr/swift,gregomni/swift,ahoppen/swift,swiftix/swift.old,mightydeveloper/swift,return/swift,practicalswift/swift,swiftix/swift,kusl/swift,tkremenek/swift,alblue/swift,slavapestov/swift,JGiola/swift,russbishop/swift,austinzheng/swift,practicalswift/swift,kentya6/swift,kentya6/swift,sschiau/swift,airspeedswift/swift,russbishop/swift,alblue/swift,zisko/swift,shajrawi/swift,cbrentharris/swift,devincoughlin/swift,swiftix/swift,codestergit/swift,parkera/swift,dduan/swift,tinysun212/swift-windows,allevato/swift,return/swift,zisko/swift,manavgabhawala/swift,hughbe/swift,JGiola/swift,ken0nek/swift,aschwaighofer/swift,alblue/swift,kstaring/swift,return/swift,cbrentharris/swift,LeoShimonaka/swift,gmilos/swift,stephentyrone/swift,apple/swift,arvedviehweger/swift,khizkhiz/swift,austinzheng/swift,natecook1000/swift,bitjammer/swift,atrick/swift,practicalswift/swift,alblue/swift,practicalswift/swift,parkera/swift,bitjammer/swift,xwu/swift,practicalswift/swift,codestergit/swift,adrfer/swift,MukeshKumarS/Swift,jmgc/swift,kperryua/swift,tinysun212/swift-windows,tkremenek/swift