Commit 615ca31d authored by Samuel Giddins's avatar Samuel Giddins

[Project] Rename to definition_for_build_configuration

parent d60ec07b
...@@ -243,7 +243,7 @@ module Pod ...@@ -243,7 +243,7 @@ module Pod
build_configuration = super build_configuration = super
settings = build_configuration.build_settings settings = build_configuration.build_settings
definitions = settings['GCC_PREPROCESSOR_DEFINITIONS'] || ['$(inherited)'] definitions = settings['GCC_PREPROCESSOR_DEFINITIONS'] || ['$(inherited)']
defines = [define_for_build_configuration(name)] defines = [defininition_for_build_configuration(name)]
defines << 'DEBUG' if type == :debug defines << 'DEBUG' if type == :debug
defines.each do |define| defines.each do |define|
value = "#{define}=1" value = "#{define}=1"
...@@ -260,7 +260,7 @@ module Pod ...@@ -260,7 +260,7 @@ module Pod
# #
# @return [String] The preprocessor definition to set for the configuration. # @return [String] The preprocessor definition to set for the configuration.
# #
def define_for_build_configuration(name) def defininition_for_build_configuration(name)
"POD_CONFIGURATION_#{name.underscore}".gsub(/[^a-zA-Z0-9_]/, '_').upcase "POD_CONFIGURATION_#{name.underscore}".gsub(/[^a-zA-Z0-9_]/, '_').upcase
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