Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Set set correct defaults (c++ 11) as a public property #1338
What platform/OS are you using?
Which version of the SDK?
What compiler are you using? what version?
Coming from awsdocs/aws-doc-sdk-examples#1022 (comment)
Currently projects require setting the target compile features to C++ 11 in CMakeLists.txt with
There should be a way to not have to do this for every project.
Note that it would require to have at least one exported target to have this compile feature requirement.
It should either be used (transitively) for all targets that get installed or it could be handled by the https://github.com/aws/aws-sdk-cpp/blob/master/cmake/AWSSDKConfig.cmake file.
It already tries to do something with a hardcoded CPP_STANDARD