Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to escape a space with mingw provider #14

Open
jschwartzenberg opened this issue Aug 24, 2017 · 1 comment
Open

No way to escape a space with mingw provider #14

jschwartzenberg opened this issue Aug 24, 2017 · 1 comment

Comments

@jschwartzenberg
Copy link

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.

@gchauvet
Copy link
Contributor

Hi,

I will take a look ASAP. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants