Eryk Sun added the comment:
Did you try it? Using -D works fine for me, as it should [1]:
Options are specified by either a forward slash (/) or
a dash (–). If an option takes an argument, the option's
description documents whether a space is allowed between
the option and the
New submission from Szabolcs Dombi:
define_macros will generate parameters like -D
msvc compilers expect /D and ignore -D
link:
https://msdn.microsoft.com/en-us/library/hhzbb5c8.aspx
--
components: Windows
messages: 270102
nosy: Szabolcs Dombi, paul.moore, steve.dower, tim.golden, zach.