Commit c23809e2 authored by Dieter Komendera's avatar Dieter Komendera

Add support to allow pod specific compiler flags.

parent a0c7f1d5
......@@ -56,7 +56,7 @@ module Pod
# Only add implementation files to the compile phase
spec.implementation_files.each do |file|
xcodeproj.add_source_file(file, spec.name)
xcodeproj.add_source_file(file, spec.name, nil, spec.compiler_flags)
end
# Add header files to a `copy header build phase` for each destination
......
......@@ -106,6 +106,11 @@ module Pod
@header_dir || pod_destroot_name
end
def compiler_flags=(flags)
@compiler_flags = flags
end
attr_reader :compiler_flags
# Not attributes
include Config::Mixin
......
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