Windows Powershell issue using Meson
sidprice opened this issue · comments
When trying to configure Meson build targets the following command line was used and failed:
meson configure -Dtargets=cortexm,stm
The output was:
PS D:\DataRoot\Projects\blackmagic\build> meson configure -Dtargets=cortexm,stm ParserError: Line | 1 | meson configure -Dtargets=cortexm,stm | ~ | Missing argument in parameter list. PS D:\DataRoot\Projects\blackmagic\build>
The problem was traced to needing quotes around the target definition:
meson configure "-Dtargets=cortexm,stm"
While not a build system issue, this is worthy of a note when the Meson build system is documented.