mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Additional shimming required for some builds, as well as a few other build related tweaks. rdar://106234311
17 lines
924 B
CMake
17 lines
924 B
CMake
# libswiftRemoteMirror.dylib should not have runtime dependencies; it's
|
|
# always built as a shared library.
|
|
add_swift_target_library(swiftRemoteMirror
|
|
SHARED DONT_EMBED_BITCODE NOSWIFTRT
|
|
SwiftRemoteMirror.cpp
|
|
LINK_LIBRARIES
|
|
swiftRemoteInspection
|
|
C_COMPILE_FLAGS
|
|
${SWIFT_RUNTIME_CXX_FLAGS} -DswiftRemoteMirror_EXPORTS -I${LLVM_MAIN_INCLUDE_DIR}
|
|
LINK_FLAGS
|
|
${SWIFT_RUNTIME_LINK_FLAGS}
|
|
INCORPORATE_OBJECT_LIBRARIES swiftLLVMSupport
|
|
SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
|
|
DARWIN_INSTALL_NAME_DIR "${SWIFTLIB_DARWIN_INSTALL_NAME_DIR}"
|
|
INSTALL_IN_COMPONENT
|
|
swift-remote-mirror)
|