MCPcopy Create free account
hub / github.com/ElementsProject/elements / set_common_properties

Function set_common_properties

build_msvc/msvc-autogen.py:53–58  ·  view source on GitHub ↗
(toolset)

Source from the content-addressed store, hash-verified

51 break
52
53def set_common_properties(toolset):
54 with open(os.path.join(SOURCE_DIR, '../build_msvc/common.init.vcxproj'), 'r', encoding='utf-8') as rfile:
55 s = rfile.read()
56 s = re.sub('<PlatformToolset>.*?</PlatformToolset>', '<PlatformToolset>'+toolset+'</PlatformToolset>', s)
57 with open(os.path.join(SOURCE_DIR, '../build_msvc/common.init.vcxproj'), 'w', encoding='utf-8',newline='\n') as wfile:
58 wfile.write(s)
59
60def parse_config_into_btc_config():
61 def find_between( s, first, last ):

Callers 1

mainFunction · 0.85

Calls 3

joinMethod · 0.45
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected