Adding Windows 32-bit and 64-bit builds

- Basic tests are working
- May need some adjustments to get all tests working
- Cleaned up bundling to take Python arch into account when building
with multiple architectures
This commit is contained in:
Jacob Alexander
2019-10-17 00:20:03 -07:00
parent 063522d308
commit 8062e6f401
9 changed files with 33 additions and 23 deletions

View File

@@ -58,7 +58,8 @@ def test_compilation(cfile, compiler=None, **compiler_attrs):
else:
lpreargs = ['-m64']
extra_compile_args = compiler_attrs.get('extra_compile_args', [])
extra_compile_args += ['--std=c++14']
if os.name != 'nt':
extra_compile_args += ['--std=c++14']
extra_link_args = compiler_attrs.get('extra_link_args', [])
if cc.compiler_type == 'msvc':
extra_link_args += ['/MANIFEST']