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
3e0f9145
Commit
3e0f9145
authored
Aug 09, 2014
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PrivatePodXcconfig] Add inherited to GCC_PREPROCESSOR_DEFINITIONS
parent
b233a8a9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
private_pod_xcconfig.rb
lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
+1
-1
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
private_pod_xcconfig_spec.rb
spec/unit/generator/xcconfig/private_pod_xcconfig_spec.rb
+2
-1
No files found.
lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
View file @
3e0f9145
...
...
@@ -52,7 +52,7 @@ module Pod
'OTHER_LDFLAGS'
=>
XCConfigHelper
.
default_ld_flags
(
target
),
'PODS_ROOT'
=>
'${SRCROOT}'
,
'HEADER_SEARCH_PATHS'
=>
XCConfigHelper
.
quote
(
search_paths
),
'GCC_PREPROCESSOR_DEFINITIONS'
=>
'COCOAPODS=1'
,
'GCC_PREPROCESSOR_DEFINITIONS'
=>
'
$(inherited)
COCOAPODS=1'
,
# 'USE_HEADERMAP' => 'NO'
}
...
...
cocoapods-integration-specs
@
b720c71b
Subproject commit
f10519fd4b3e699dfee488edf761b0ebe675f5b
2
Subproject commit
b720c71b6896dd8523e937286eaa873ed74ded0
2
spec/unit/generator/xcconfig/private_pod_xcconfig_spec.rb
View file @
3e0f9145
...
...
@@ -51,7 +51,8 @@ module Pod
end
it
'adds the COCOAPODS macro definition'
do
@xcconfig
.
to_hash
[
'GCC_PREPROCESSOR_DEFINITIONS'
].
should
.
include
'COCOAPODS=1'
expected
=
'$(inherited) COCOAPODS=1'
@xcconfig
.
to_hash
[
'GCC_PREPROCESSOR_DEFINITIONS'
].
should
==
expected
end
it
'adds the pod namespaced configuration items'
do
...
...
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