-
Notifications
You must be signed in to change notification settings - Fork 27
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
API question #5
Comments
Most of this should be in VFSTools.h: |
So in other words, WildcardMatch() does what I am looking for? So if I give it a pattern like: ./src/*.cpp because then, that is all I really need.
|
Almost. Wildcard matching is just for strings, added for convenience. So you still need to build the list yourself (use forEachFile + filter file names by wildcard) |
Thats great! Which files do I need to include in my project to make the functions available?
|
^ |
Hey.
So, I am working on this build system, and I need to implement a function to list all files by a pattern. I.e.
src/*.cxx
becomes a list of .cxx files in src (string vector, or list, most probably). So to do that, I needdirname()
andbasename()
. And here come my questions:1: Does TTVFS have these? And if yes, where?
2: What are the files needed to get these functions? Do I need the whole
ttvfs/
folder?Oh, and the buildtool in progress: http://github.com/IngwiePhoenix/IceTea
I am at the point where I am creating the commands. So I need all sorts of file-system APIs...
Kind regards, Ingwie
The text was updated successfully, but these errors were encountered: