(toolset)
| 51 | break |
| 52 | |
| 53 | def 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 | |
| 60 | def parse_config_into_btc_config(): |
| 61 | def find_between( s, first, last ): |