|
| 1 | +add_library(SwiftProtobuf |
| 2 | + any.pb.swift |
| 3 | + AnyMessageStorage.swift |
| 4 | + AnyUnpackError.swift |
| 5 | + api.pb.swift |
| 6 | + BinaryDecoder.swift |
| 7 | + BinaryDecodingError.swift |
| 8 | + BinaryDecodingOptions.swift |
| 9 | + BinaryDelimited.swift |
| 10 | + BinaryEncoder.swift |
| 11 | + BinaryEncodingError.swift |
| 12 | + BinaryEncodingSizeVisitor.swift |
| 13 | + BinaryEncodingVisitor.swift |
| 14 | + CustomJSONCodable.swift |
| 15 | + Data+Extensions.swift |
| 16 | + Decoder.swift |
| 17 | + descriptor.pb.swift |
| 18 | + DoubleParser.swift |
| 19 | + duration.pb.swift |
| 20 | + empty.pb.swift |
| 21 | + Enum.swift |
| 22 | + ExtensibleMessage.swift |
| 23 | + ExtensionFields.swift |
| 24 | + ExtensionFieldValueSet.swift |
| 25 | + ExtensionMap.swift |
| 26 | + FieldTag.swift |
| 27 | + FieldTypes.swift |
| 28 | + field_mask.pb.swift |
| 29 | + Google_Protobuf_Any+Extensions.swift |
| 30 | + Google_Protobuf_Any+Registry.swift |
| 31 | + Google_Protobuf_Duration+Extensions.swift |
| 32 | + Google_Protobuf_FieldMask+Extensions.swift |
| 33 | + Google_Protobuf_ListValue+Extensions.swift |
| 34 | + Google_Protobuf_Struct+Extensions.swift |
| 35 | + Google_Protobuf_Timestamp+Extensions.swift |
| 36 | + Google_Protobuf_Value+Extensions.swift |
| 37 | + Google_Protobuf_Wrappers+Extensions.swift |
| 38 | + HashVisitor.swift |
| 39 | + Internal.swift |
| 40 | + JSONDecoder.swift |
| 41 | + JSONDecodingError.swift |
| 42 | + JSONDecodingOptions.swift |
| 43 | + JSONEncoder.swift |
| 44 | + JSONEncodingError.swift |
| 45 | + JSONEncodingOptions.swift |
| 46 | + JSONEncodingVisitor.swift |
| 47 | + JSONMapEncodingVisitor.swift |
| 48 | + JSONScanner.swift |
| 49 | + MathUtils.swift |
| 50 | + Message+AnyAdditions.swift |
| 51 | + Message+BinaryAdditions.swift |
| 52 | + Message+JSONAdditions.swift |
| 53 | + Message+JSONArrayAdditions.swift |
| 54 | + Message+TextFormatAdditions.swift |
| 55 | + Message.swift |
| 56 | + MessageExtension.swift |
| 57 | + NameMap.swift |
| 58 | + ProtobufAPIVersionCheck.swift |
| 59 | + ProtobufMap.swift |
| 60 | + ProtoNameProviding.swift |
| 61 | + SelectiveVisitor.swift |
| 62 | + SimpleExtensionMap.swift |
| 63 | + source_context.pb.swift |
| 64 | + StringUtils.swift |
| 65 | + struct.pb.swift |
| 66 | + TextFormatDecoder.swift |
| 67 | + TextFormatDecodingError.swift |
| 68 | + TextFormatEncoder.swift |
| 69 | + TextFormatEncodingOptions.swift |
| 70 | + TextFormatEncodingVisitor.swift |
| 71 | + TextFormatScanner.swift |
| 72 | + timestamp.pb.swift |
| 73 | + TimeUtils.swift |
| 74 | + type.pb.swift |
| 75 | + UnknownStorage.swift |
| 76 | + UnsafeBufferPointer+Shims.swift |
| 77 | + UnsafeRawPointer+Shims.swift |
| 78 | + Varint.swift |
| 79 | + Version.swift |
| 80 | + Visitor.swift |
| 81 | + WireFormat.swift |
| 82 | + wrappers.pb.swift |
| 83 | + ZigZag.swift) |
| 84 | +set_target_properties(SwiftProtobuf PROPERTIES |
| 85 | + INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) |
| 86 | + |
| 87 | + |
| 88 | +install(TARGETS SwiftProtobuf |
| 89 | + ARCHIVE DESTINATION lib/swift$<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}> |
| 90 | + LIBRARY DESTINATION lib/swift$<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}> |
| 91 | + RUNTIME DESTINATION bin) |
| 92 | +get_swift_host_arch(swift_arch) |
| 93 | +install(FILES |
| 94 | + $<TARGET_PROPERTY:SwiftProtobuf,Swift_MODULE_DIRECTORY>/SwiftProtobuf.swiftdoc |
| 95 | + $<TARGET_PROPERTY:SwiftProtobuf,Swift_MODULE_DIRECTORY>/SwiftProtobuf.swiftmodule |
| 96 | + DESTINATION lib/swift$<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>/${swift_arch}) |
| 97 | +set_property(GLOBAL APPEND PROPERTY Protobuf_EXPORTS SwiftProtobuf) |
0 commit comments