Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mesonbuild/compilers/mixins/visualstudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ def sanitizer_compile_args(self, target: T.Optional[BuildTarget], value: T.List[
def get_output_args(self, outputname: str) -> T.List[str]:
if self.mode == 'PREPROCESSOR':
return ['/Fi' + outputname]
if outputname.endswith('.exe'):
# hack: this list is not exhaustive
if outputname.endswith(('.exe', '.dll')):
return ['/Fe' + outputname]
return ['/Fo' + outputname]

Expand Down
Loading