Skip to content

Commit f385f53

Browse files
speciousbmoffatt
andauthored
Updated CMake commands to reflect that ENABLE_UNITY_BUILDS now defaults to ON in the AWS SDK (awslabs#156)
Co-authored-by: Bryan Moffatt <[email protected]>
1 parent ed43dbb commit f385f53

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

ci/codebuild/build-cpp-sdk.sh

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ mkdir build
88
cd build
99
cmake .. -GNinja -DBUILD_ONLY="lambda" \
1010
-DCMAKE_BUILD_TYPE=Release \
11-
-DENABLE_UNITY_BUILD=ON \
1211
-DBUILD_SHARED_LIBS=ON \
1312
-DENABLE_TESTING=OFF \
1413
-DCMAKE_INSTALL_PREFIX=/install $@

examples/api-gateway/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ $ cmake .. -DBUILD_ONLY="core" \
1515
-DCMAKE_BUILD_TYPE=Release \
1616
-DBUILD_SHARED_LIBS=OFF \
1717
-DCUSTOM_MEMORY_MANAGEMENT=OFF \
18-
-DCMAKE_INSTALL_PREFIX=~/install \
19-
-DENABLE_UNITY_BUILD=ON
18+
-DCMAKE_INSTALL_PREFIX=~/install
2019
$ make
2120
$ make install
2221
```

examples/dynamodb/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ $ cmake .. -DBUILD_ONLY="dynamodb" \
1717
-DCMAKE_BUILD_TYPE=Release \
1818
-DBUILD_SHARED_LIBS=OFF \
1919
-DCUSTOM_MEMORY_MANAGEMENT=OFF \
20-
-DCMAKE_INSTALL_PREFIX=~/install \
21-
-DENABLE_UNITY_BUILD=ON
20+
-DCMAKE_INSTALL_PREFIX=~/install
2221

2322
$ make -j 4
2423
$ make install

examples/s3/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ $ cmake .. -DBUILD_ONLY="s3" \
1717
-DCMAKE_BUILD_TYPE=Release \
1818
-DBUILD_SHARED_LIBS=OFF \
1919
-DCUSTOM_MEMORY_MANAGEMENT=OFF \
20-
-DCMAKE_INSTALL_PREFIX=~/install \
21-
-DENABLE_UNITY_BUILD=ON
20+
-DCMAKE_INSTALL_PREFIX=~/install
2221

2322
$ make
2423
$ make install
@@ -34,7 +33,7 @@ $ mkdir build
3433
$ cd build
3534
$ cmake .. -DCMAKE_BUILD_TYPE=Release \
3635
-DBUILD_SHARED_LIBS=OFF \
37-
-DCMAKE_INSTALL_PREFIX=~/install \
36+
-DCMAKE_INSTALL_PREFIX=~/install
3837
$ make
3938
$ make install
4039
```

0 commit comments

Comments
 (0)