Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
c23809e2
Commit
c23809e2
authored
Oct 11, 2011
by
Dieter Komendera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support to allow pod specific compiler flags.
parent
a0c7f1d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
installer.rb
lib/cocoapods/installer.rb
+1
-1
specification.rb
lib/cocoapods/specification.rb
+5
-0
No files found.
lib/cocoapods/installer.rb
View file @
c23809e2
...
...
@@ -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
...
...
lib/cocoapods/specification.rb
View file @
c23809e2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment