CopyDirectory -- wildcards

Added by David Cowan about 1 year ago

Is there a way to specify 'exclusions' with the CopyDirectory rule?

I want to copy my 'Assets' directory to my bundle, but I don't want to include any hidden folders (or anything with '.svn' in the name or extension)

Dave


Replies (2)

RE: CopyDirectory -- wildcards - Added by Joshua Jensen about 1 year ago

See tests/copydirectory/Jamfile.jam for an example of ignoring directories.

See http://www.codeproject.com/KB/files/fileglob.aspx for the syntax used. Part of the current JamPlus documentation for CopyDirectory refers to this syntax, but not all of the documentation is included. I apologize for that. It is the one thing preventing a 1.0 release.

RE: CopyDirectory -- wildcards - Added by David Cowan about 1 year ago

Perfect... exactly what I needed. Thanks

Dave

(1-2/2)