Skip to content

aws-crt-cpp v0.1.4 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,17 @@ is provided by code that been generated from a model of the service.

## Build from source
```
git clone --branch v0.1.1 https://github.com/awslabs/aws-crt-cpp.git
git clone --branch v0.1.4 https://github.com/awslabs/aws-crt-cpp.git
git clone https://github.com/awslabs/aws-iot-device-sdk-cpp-v2.git
mkdir aws-crt-cpp-build
cd aws-crt-cpp-build
cmake -DCMAKE_INSTALL_PREFIX="<path to where you install>" -DCMAKE_PREFIX_PATH="<path to where you install>" -DBUILD_SHARED_LIBS=ON -DBUILD_DEPS=ON ../aws-crt-cpp
<invoke build command make, msbuild, ninja etc....> install
cmake --build . --target install
cd ..
mkdir aws-iot-device-sdk-cpp-v2
cd aws-iot-device-sdk-cpp-v2
mkdir aws-iot-device-sdk-cpp-v2-build
cd aws-iot-device-sdk-cpp-v2-build
cmake -DCMAKE_INSTALL_PREFIX="<path to where you install>" -DCMAKE_PREFIX_PATH="<path to where you install>" -DBUILD_SHARED_LIBS=ON ../aws-iot-device-sdk-cpp-v2
<invoke build command make, msbuild, ninja etc....> install

cmake --build . --target install
```

# Samples
Expand Down
2 changes: 1 addition & 1 deletion samples/jobs/describe_job_execution/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void s_printHelp()
stdout,
"describe-job-execution --endpoint <endpoint> --cert <path to cert>"
" --key <path to key> --ca_file <optional: path to custom ca>"
"--thing_name <thing name> --job_id <job id>\n\n");
" --thing_name <thing name> --job_id <job id>\n\n");
fprintf(stdout, "endpoint: the endpoint of the mqtt server not including a port\n");
fprintf(stdout, "cert: path to your client certificate in PEM format\n");
fprintf(stdout, "key: path to your key in PEM format\n");
Expand Down
2 changes: 1 addition & 1 deletion samples/shadow/shadow_sync/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static void s_printHelp()
stdout,
"shadow-sync --endpoint <endpoint> --cert <path to cert>"
" --key <path to key> --ca_file <optional: path to custom ca>"
"--thing_name <thing name> --shadow_property <Name of property in shadow to keep in sync.>\n\n");
" --thing_name <thing name> --shadow_property <Name of property in shadow to keep in sync.>\n\n");
fprintf(stdout, "endpoint: the endpoint of the mqtt server not including a port\n");
fprintf(stdout, "cert: path to your client certificate in PEM format\n");
fprintf(stdout, "key: path to your key in PEM format\n");
Expand Down