mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
7
stdlib/public/runtime/SwiftObjectNative.cpp
Normal file
7
stdlib/public/runtime/SwiftObjectNative.cpp
Normal 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
|
||||
Reference in New Issue
Block a user