Setting C++ lang dialect for objc cocoapod specs (#31071)

pull/31073/head
Denny C. Dai 2 years ago committed by GitHub
parent fa6571634c
commit 343cb0ecb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      gRPC-C++.podspec
  2. 1
      gRPC-Core.podspec
  3. 1
      gRPC-ProtoRPC.podspec
  4. 1
      gRPC-RxLibrary.podspec
  5. 1
      gRPC.podspec
  6. 1
      templates/gRPC-C++.podspec.template
  7. 1
      templates/gRPC-Core.podspec.template
  8. 1
      templates/gRPC-ProtoRPC.podspec.template
  9. 1
      templates/gRPC-RxLibrary.podspec.template
  10. 1
      templates/gRPC.podspec.template

1
gRPC-C++.podspec generated

@ -64,6 +64,7 @@ Pod::Spec.new do |s|
# build.
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.libraries = 'c++'

1
gRPC-Core.podspec generated

@ -84,6 +84,7 @@ Pod::Spec.new do |s|
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'GCC_PREPROCESSOR_DEFINITIONS' => '"$(inherited)" "COCOAPODS=1"',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.default_subspecs = 'Interface', 'Implementation'

@ -84,5 +84,6 @@ Pod::Spec.new do |s|
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
end

@ -66,5 +66,6 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = {
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
end

1
gRPC.podspec generated

@ -42,6 +42,7 @@ Pod::Spec.new do |s|
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.ios.deployment_target = '9.0'

@ -146,6 +146,7 @@
# build.
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.libraries = 'c++'

@ -170,6 +170,7 @@
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'GCC_PREPROCESSOR_DEFINITIONS' => '"$(inherited)" "COCOAPODS=1"',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.default_subspecs = 'Interface', 'Implementation'

@ -86,5 +86,6 @@
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
end

@ -68,5 +68,6 @@
s.pod_target_xcconfig = {
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
end

@ -44,6 +44,7 @@
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
}
s.ios.deployment_target = '9.0'

Loading…
Cancel
Save