diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-09-17 19:21:09 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-09-28 15:56:53 +0200 |
commit | dd0f304613b1661754d9cccf5829087a8bb19a12 (patch) | |
tree | 852c778a4b92ca5b2a58564fc59a7314a3a6d654 /Source/cmLocalGenerator.cxx | |
parent | b515af782bccf147e8bd62444c9f1808668f12ac (diff) | |
download | cmake-dd0f304613b1661754d9cccf5829087a8bb19a12.tar.gz |
Objective C/C++: Add compiler standard detection
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 3583dc94b5..303a484135 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1941,10 +1941,20 @@ void cmLocalGenerator::AddCompilerRequirementFlag( langStdMap["CXX"].emplace_back("11"); langStdMap["CXX"].emplace_back("98"); + langStdMap["OBJCXX"].emplace_back("20"); + langStdMap["OBJCXX"].emplace_back("17"); + langStdMap["OBJCXX"].emplace_back("14"); + langStdMap["OBJCXX"].emplace_back("11"); + langStdMap["OBJCXX"].emplace_back("98"); + langStdMap["C"].emplace_back("11"); langStdMap["C"].emplace_back("99"); langStdMap["C"].emplace_back("90"); + langStdMap["OBJC"].emplace_back("11"); + langStdMap["OBJC"].emplace_back("99"); + langStdMap["OBJC"].emplace_back("90"); + langStdMap["CUDA"].emplace_back("14"); langStdMap["CUDA"].emplace_back("11"); langStdMap["CUDA"].emplace_back("98"); |