does gyp support wildcard?

285 views
Skip to first unread message

ofox

unread,
Nov 13, 2011, 11:00:46 PM11/13/11
to gyp-developer
I'm totally new to gyp and am looking for a wildcard way to add
hundreds of source files into 'sources' field.
Could you plz advice? Thanks!

e.g., something like
'sources' : ['my_dir_a/*.cc', 'my_dir_b/*.c']

ofox

unread,
Nov 14, 2011, 1:23:00 AM11/14/11
to gyp-developer
ok, after some investigation, it could be achieved by <!@(find
my_dir_a -name *.c)

any other simpler way? I have tens of sub dirs...


On Nov 14, 12:00 pm, ofox <ofox...@gmail.com> wrote:
> I'm totally new to gyp and am looking for awildcardway to add

Mark Mentovai

unread,
Nov 14, 2011, 8:30:26 AM11/14/11
to ofox, gyp-developer

There is intentionally no native syntax to support this misfeature.

Reply all
Reply to author
Forward
0 new messages