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
f086a013
Commit
f086a013
authored
Jul 04, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add target type specific settings to XCConfigs
parent
73a07768
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+1
-1
private_pod_xcconfig.rb
lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
+1
-1
xcconfig_helper.rb
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
+13
-0
No files found.
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
f086a013
...
...
@@ -57,7 +57,7 @@ module Pod
'OTHER_CFLAGS'
=>
'$(inherited) '
+
XCConfigHelper
.
quote
(
header_search_path_flags
,
'-isystem'
)
)
XCConfigHelper
.
add_
language
_specific_settings
(
target
,
@xcconfig
)
XCConfigHelper
.
add_
target
_specific_settings
(
target
,
@xcconfig
)
target
.
pod_targets
.
each
do
|
pod_target
|
next
unless
pod_target
.
include_in_build_config?
(
@configuration_name
)
...
...
lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
View file @
f086a013
...
...
@@ -59,7 +59,7 @@ module Pod
xcconfig_hash
=
add_xcconfig_namespaced_keys
(
public_xcconfig
.
to_hash
,
config
,
target
.
xcconfig_prefix
)
@xcconfig
=
Xcodeproj
::
Config
.
new
(
xcconfig_hash
)
XCConfigHelper
.
add_
language
_specific_settings
(
target
,
@xcconfig
)
XCConfigHelper
.
add_
target
_specific_settings
(
target
,
@xcconfig
)
@xcconfig
.
includes
=
[
target
.
name
]
@xcconfig
end
...
...
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
View file @
f086a013
...
...
@@ -88,6 +88,19 @@ module Pod
xcconfig
.
merge!
(
build_settings
)
end
# Checks if the given target requires specific settings and configures
# the given Xcconfig.
#
# @param [Target] target
# The target.
#
# @param [Xcodeproj::Config] xcconfig
# The xcconfig to edit.
#
def
self
.
add_target_specific_settings
(
target
,
xcconfig
)
add_language_specific_settings
(
target
,
xcconfig
)
end
# Checks if the given target requires language specific settings and
# configures the given Xcconfig.
#
...
...
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