All,
I need some help. I’ve already asked for CPack help here before, but I find I need more. Namely, I currently have this:
set(CPACK_SOURCE_IGNORE_FILES
/.git/
/.mepo/
/build.*/
/install.*/
/CVS/
.\*.swp
.\*.swo
.\*~
.\*\#
\.DS_Store
)
set in my project so I can make tarfiles of source code but not include any build or install or .git directories, etc.
And it works well, until recently a user found an issue. Namely, he didn’t name his build and install directories like build-foo/
and install-foo/
but rather foo-build/
and foo-install/
and he found he was making enormous tarfiles.
Now I could just ban anything with the word “build” in it, say, but my code has ecbuild/
as a subdirectory that I want to capture in the tarfile.
So, I’m wondering, is there anyway to say “exclude all directories with build
in the name, but specifically include ecbuild
”? My guess from the docs is “probably not”, but maybe the gurus here can help!
Thanks,
Matt