Ok, that is definantly not recommended. Maybe it works, but I don't see why you would ever want to do that. This addition to the ignore file just seems unnecessary.

These warnings you're getting with CLang might be because you're building "in source". I haven't seen them on OSX at least.

In short, use "out of source" build instead, much nicer. Thats' what the CMake project was written for.