Skip to content

No way to escape a space with mingw provider #14

@jschwartzenberg

Description

@jschwartzenberg

Using the generic provider this works:

<compilerStartOptions>
  <compilerStartOption>"-DNAME_versie=\"NAME\ v${project.version}\"" "-DBUILD_YEAR=\"${current.year}\"" "-DBUILD_DATE=\"${current.day}\""</compilerStartOption>
</compilerStartOptions>

With the new mingw provider I have to remove the surrounding quotes from the individual quotes:

<compilerStartOptions>
  <compilerStartOption>-DNAME_versie=\"NAME\ v${project.version}\" -DBUILD_YEAR=\"${current.year}\" -DBUILD_DATE=\"${current.day}\"</compilerStartOption>
</compilerStartOptions>

But this fails because v${project.version}\" is passed as a separate argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions