mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
cmState: Initialize properties immediately.
Don't leave this as cmMakefile responsibility.
This commit is contained in:
1 parent
20b95ef8c8
commit
0aa34de549
2 files changed
+4
-2
No files matched your search
@@ -55,8 +55,6 @@ cmMakefile::cmMakefile(cmGlobalGenerator* globalGenerator,
|
||||
|
||||
this->SuppressWatches = false;
|
||||
|
||||
// Setup the default include file regular expression (match everything).
|
||||
this->SetProperty("INCLUDE_REGULAR_EXPRESSION", "^.*$");
|
||||
// Setup the default include complaint regular expression (match nothing).
|
||||
this->ComplainFileRegularExpression = "^$";
|
||||
// Source and header file extensions that we can handle
|
||||
|
||||
@@ -1381,6 +1381,10 @@ void cmState::Snapshot::SetDefaultDefinitions()
|
||||
|
||||
this->SetDefinition("CMAKE_FILES_DIRECTORY",
|
||||
cmake::GetCMakeFilesDirectory());
|
||||
|
||||
// Setup the default include file regular expression (match everything).
|
||||
this->Position->BuildSystemDirectory
|
||||
->Properties.SetProperty("INCLUDE_REGULAR_EXPRESSION", "^.*$");
|
||||
}
|
||||
|
||||
void cmState::Snapshot::SetDirectoryDefinitions()
|
||||
|
||||
Reference in new issue
Block a user