Sitelet https://github.com/aws/aws-sdk-cpp/issues/2056
Skip to content

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

Description

@raphasampaio

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) are built with multi-threaded DLL (\MD).

Reproduction Steps

I'm running the following cmake command:

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 #1087

AWS CPP SDK version used

v1.9.251

Compiler and Version used

Visual Studio

Operating System and version

Windows 10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CmakeCmake related submissionsbugThis issue is a bug.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions