aws / aws/aws-sdk-cpp

Built aws-sdk-cpp with multi-threaded (\MT) runtime library (including aws-crt-cpp)

Open
#2,056 2 comments 0 reactions 0 assignees View on GitHub
bug Cmake p2
Dominant language
C++
Stars
2.2k
Forks
1.2k
Avg merge
3d 14h
Merged PRs (30d)
12

Description

### Describe the bug

I'm trying to build aws-sdk-cpp on windows with the multi-threaded (\MT) runtime library.

### Expected Behavior

I want all the projects to be built with the runtime library \MT configuration.

### Current Behavior

The aws-cpp projects are correctly built with the \MT flag; however, the aws-c projects ([https://github.com/awslabs/aws-crt-cpp](https://github.com/awslabs/aws-crt-cpp)) are built with multi-threaded DLL (\MD).

### Reproduction Steps

I'm running the following cmake command:

```bash
cmake ..\aws -DBUILD_SHARED_LIBS=OFF -DFORCE_SHARED_CRT=OFF -DSTATIC_CRT=ON -DBUILD_ONLY="s3;athena;transfer"
```

### Possible Solution

Inherit those flags to the aws-crt-cpp project

### Additional Information/Context

Possible related PR https://github.com/aws/aws-sdk-cpp/pull/1087

### AWS CPP SDK version used

v1.9.251

### Compiler and Version used

Visual Studio

### Operating System and version

Windows 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.