Skip to content

Conversation

@xclaesse
Copy link
Member

When using a custom_target() and an argument contains a newline, the command gets wrapped and written into a pickle file. However, when it's a compiler argument, the ninja backend was raising an error.

When using a custom_target() and an argument contains a newline, the
command gets wrapped and written into a pickle file. However, when it's
a compiler argument, the ninja backend was raising an error.
@xclaesse
Copy link
Member Author

Hmm, on 2nd though, I'm not sure this is right. It works because C preprocessor will handle "hello\nworld" to insert a newline character, but it's not the same thing as passing an actual newline char to command's argv.

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

Successfully merging this pull request may close these issues.

1 participant