Sharpmake
Sharpmake copied to clipboard
Unexpected behaviour with SourceFilesExcludeRegex
Hello,
I've noticed a weird behaviour when using SourceFilesExcludeRegex.
I was expecting it to match on the path, starting from current project path, but it actually matches on the full path.
For example, if I have the following path: C:/Users/Unarelith_ex/Perforce/MyProject/ex, when I do SourceFilesExcludeRegex.Add("ex") to exclude my "ex" folder, it will exclude all the files from my project since "ex" is also in my username.
Is it that way on purpose or is it a bug?