Skip to content
Snippets Groups Projects
Commit fc225376 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fixup: 'cl.exe' should be used on Windows not if not Windows

parent 40d56a71
No related merge requests found
Pipeline #17973 failed with stage
in 2 minutes and 28 seconds
......@@ -29,13 +29,13 @@ if get_compiler_config()['os'] != 'windows':
_include_flags = ['-I' + sysconfig.get_paths()['include'], '-I' + get_pystencils_include_path()]
_do_not_link_flag = "-c"
_position_independent_flag = "-fPIC"
get_compiler_config()['command'] = 'cl.exe'
else:
_do_not_link_flag = "/c"
_output_flag = '/OUT:'
_shared_object_flag = '/DLL'
_include_flags = ['/I' + sysconfig.get_paths()['include'], '/I' + get_pystencils_include_path()]
_position_independent_flag = "/DTHIS_FLAG_DOES_NOTHING"
get_compiler_config()['command'] = 'cl.exe'
try:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment