-
Notifications
You must be signed in to change notification settings - Fork 10.5k
/
Copy pathCMakeLists.txt
21 lines (20 loc) · 1.09 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
LINK_FLAGS
${SWIFT_RUNTIME_LINK_FLAGS}
PREFIX_INCLUDE_DIRS
${SWIFT_SOURCE_DIR}/include/swift/RemoteInspection/RuntimeHeaders
INCORPORATE_OBJECT_LIBRARIES swiftLLVMSupport
SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
DARWIN_INSTALL_NAME_DIR "${SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR}"
INSTALL_IN_COMPONENT
swift-remote-mirror
TARGET_SDKS NOT LINUX_STATIC)