Commit 11d5ac1a authored by Swizzlr's avatar Swizzlr

playing with ideas

parent af1d19c1
...@@ -44,6 +44,8 @@ module Pod ...@@ -44,6 +44,8 @@ module Pod
# @return [Xcodeproj::Config] # @return [Xcodeproj::Config]
# #
def generate def generate
header_search_paths = target.sandbox.public_headers.search_paths
warning_suppressed_paths = target.pod_targets.each
@xcconfig = Xcodeproj::Config.new({ @xcconfig = Xcodeproj::Config.new({
'OTHER_LDFLAGS' => XCConfigHelper.default_ld_flags(target), 'OTHER_LDFLAGS' => XCConfigHelper.default_ld_flags(target),
'HEADER_SEARCH_PATHS' => XCConfigHelper.quote(target.sandbox.public_headers.search_paths), 'HEADER_SEARCH_PATHS' => XCConfigHelper.quote(target.sandbox.public_headers.search_paths),
...@@ -60,6 +62,11 @@ module Pod ...@@ -60,6 +62,11 @@ module Pod
file_accessor.vendored_libraries.each do |vendored_library| file_accessor.vendored_libraries.each do |vendored_library|
XCConfigHelper.add_library_build_settings(vendored_library, @xcconfig, target.sandbox.root) XCConfigHelper.add_library_build_settings(vendored_library, @xcconfig, target.sandbox.root)
end end
@xcconfig.merge!('OTHER_CFLAGS' => '$(inherited)')
if pod_target.target_definition.inhibits_warnings_for_pod?(file_accessor.spec.root.name)
#then @xcconfig.merge!('OTHER_CFLAGS' => "$(inherited) #{XCConfigHelper.quote(pod_target.build_headers.search_paths)}")
else UI.warn('do not inhibit')
end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment