Puya
unread,Feb 22, 2021, 4:10:12 AM2/22/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gyp-developer
Hi, is there a way to add a condition based on file extension in GYP? I tried this:
```
'cflags': [
'-fPIC',
'-Wall',
'-W',
'-Wno-unused-parameter',
'-std=c++17',
],
'conditions': [
[ 'RULE_INPUT_EXT == "c"', {
'cflags!': [
'-std=c++17',
],
} ],
...
```
To no avail.