mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 04:24:36 +08:00
Ignore files under the CMakeFiles directory
This commit is contained in:
@@ -1793,8 +1793,10 @@ void cmMakefile::CheckForUnused(const char* reason, const char* name) const
|
||||
if (this->CheckSystemVars ||
|
||||
cmSystemTools::IsSubDirectory(path.c_str(),
|
||||
this->GetHomeDirectory()) ||
|
||||
cmSystemTools::IsSubDirectory(path.c_str(),
|
||||
this->GetHomeOutputDirectory()))
|
||||
(cmSystemTools::IsSubDirectory(path.c_str(),
|
||||
this->GetHomeOutputDirectory()) &&
|
||||
!cmSystemTools::IsSubDirectory(path.c_str(),
|
||||
cmake::GetCMakeFilesDirectory())))
|
||||
{
|
||||
cmOStringStream msg;
|
||||
msg << path << ":" << line << ":" <<
|
||||
|
Reference in New Issue
Block a user