Skip to content

Commit b782145

Browse files
authored
aws-c-mqtt submodule (#236)
1 parent 13e5479 commit b782145

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
[submodule "aws-common-runtime/aws-c-event-stream"]
2929
path = aws-common-runtime/aws-c-event-stream
3030
url = https://github.com/awslabs/aws-c-event-stream
31+
[submodule "aws-common-runtime/aws-c-mqtt"]
32+
path = aws-common-runtime/aws-c-mqtt
33+
url = https://github.com/awslabs/aws-c-mqtt.git

Package.swift

+18-1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,15 @@ let awsCEventStreamExcludes = [
186186
"CODE_OF_CONDUCT.md",
187187
"clang-tidy/run-clang-tidy.sh"] + excludesFromAll
188188

189+
//////////////////////////////////////////////////////////////////////
190+
/// aws-c-mqtt
191+
//////////////////////////////////////////////////////////////////////
192+
193+
let awsCMqttExcludes = [
194+
"bin",
195+
"CODE_OF_CONDUCT.md",
196+
] + excludesFromAll
197+
189198
packageTargets.append(contentsOf: [
190199
.target(
191200
name: "AwsCPlatformConfig",
@@ -256,6 +265,13 @@ packageTargets.append(contentsOf: [
256265
exclude: awsCEventStreamExcludes,
257266
cSettings: cSettings
258267
),
268+
.target(
269+
name: "AwsCMqtt",
270+
dependencies: ["AwsCHttp", "AwsCCal", "AwsCIo", "AwsCCommon"],
271+
path: "aws-common-runtime/aws-c-mqtt",
272+
exclude: awsCMqttExcludes,
273+
cSettings: cSettings
274+
),
259275
.target(
260276
name: "AwsCommonRuntimeKit",
261277
dependencies: [ "AwsCAuth",
@@ -265,7 +281,8 @@ packageTargets.append(contentsOf: [
265281
"AwsCIo",
266282
"AwsCCommon",
267283
"AwsCChecksums",
268-
"AwsCEventStream"],
284+
"AwsCEventStream",
285+
"AwsCMqtt"],
269286
path: "Source/AwsCommonRuntimeKit"
270287
),
271288
.testTarget(

aws-common-runtime/aws-c-mqtt

Submodule aws-c-mqtt added at d4346e0

0 commit comments

Comments
 (0)