MCPcopy Create free account
hub / github.com/boostorg/build / prepare_library_prefix

Function prepare_library_prefix

test/BoostBuild.py:129–144  ·  view source on GitHub ↗

Setup whether Boost Build is expected to automatically prepend prefixes to its built library targets.

(toolset)

Source from the content-addressed store, hash-verified

127
128
129def prepare_library_prefix(toolset):
130 """
131 Setup whether Boost Build is expected to automatically prepend prefixes
132 to its built library targets.
133
134 """
135 global lib_prefix
136 lib_prefix = "lib"
137
138 global dll_prefix
139 if cygwin:
140 dll_prefix = "cyg"
141 elif windows and toolset != "gcc":
142 dll_prefix = None
143 else:
144 dll_prefix = "lib"
145
146
147def re_remove(sequence, regex):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected