Sharpmake icon indicating copy to clipboard operation
Sharpmake copied to clipboard

Unexpected behaviour with SourceFilesExcludeRegex

Open Unarelith opened this issue 3 years ago • 0 comments

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?

Unarelith avatar Jul 20 '22 12:07 Unarelith