Class: XcodeArchiveCache::Injection::BuildFlagsChanger
- Inherits:
-
Object
- Object
- XcodeArchiveCache::Injection::BuildFlagsChanger
show all
- Includes:
- Logs
- Defined in:
- lib/injection/build_flags_changer.rb
Instance Method Summary
collapse
Methods included from Logs
#debug, #error, #info, #set_log_level
Instance Method Details
#add_capital_i_path(build_configuration, path) ⇒ Object
62
63
64
65
|
# File 'lib/injection/build_flags_changer.rb', line 62
def add_capital_i_path(build_configuration, path)
debug("using -I path #{path}")
add_cflag(build_configuration, path_to_capital_i(path))
end
|
29
30
31
32
33
|
# File 'lib/injection/build_flags_changer.rb', line 29
def (build_configuration, artifact_location, node)
= (artifact_location, node)
debug("using -iquote path #{headers_search_path}")
add_cflag(build_configuration, )
end
|
#add_framework_linker_flag(build_configuration, node) ⇒ Object
18
19
20
21
22
23
24
|
# File 'lib/injection/build_flags_changer.rb', line 18
def add_framework_linker_flag(build_configuration, node)
linker_flag = get_framework_linker_flag(node)
if linker_flag
debug("using linker flag #{linker_flag}")
add_linker_flag(build_configuration, linker_flag)
end
end
|
#add_framework_search_path(build_configuration, path) ⇒ Object
10
11
12
13
|
# File 'lib/injection/build_flags_changer.rb', line 10
def add_framework_search_path(build_configuration, path)
debug("using framework search path #{path}")
add_flag_to_configuration(build_configuration, FRAMEWORK_SEARCH_PATHS_KEY, path_to_search_path(path))
end
|
46
47
48
49
|
# File 'lib/injection/build_flags_changer.rb', line 46
def (build_configuration, path)
debug("using headers search path #{path}")
add_flag_to_configuration(build_configuration, , path)
end
|
#add_iquote_path(build_configuration, path) ⇒ Object
54
55
56
57
|
# File 'lib/injection/build_flags_changer.rb', line 54
def add_iquote_path(build_configuration, path)
debug("using -iquote path #{path}")
add_cflag(build_configuration, path_to_iquote(path))
end
|
#add_library_search_path(build_configuration, path) ⇒ Object
38
39
40
41
|
# File 'lib/injection/build_flags_changer.rb', line 38
def add_library_search_path(build_configuration, path)
debug("using library search path #{path}")
add_flag_to_configuration(build_configuration, LIBRARY_SEARCH_PATHS_KEY, path_to_search_path(path))
end
|