Runtime: give each source file a unique basename

CMake Xcode generator does not seem to build libraries properly if we
have both a Foo.cpp and a Foo.mm in one library.
This commit is contained in:
Dmitri Gribenko
2016-06-02 00:59:49 -07:00
parent cb75907c42
commit 6a507d6311
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
// This file is here only to bring in the parts of SwiftObject.mm that apply
// when not using an objc runtime.
#include "swift/Runtime/Config.h"
#if !SWIFT_OBJC_INTEROP
#include "SwiftObject.mm"
#endif