diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-04 17:21:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-18 12:10:34 (GMT) |
commit | 4efda261fead9f677144ffc6bc2b612a1d1dbcb6 (patch) | |
tree | 789865bb79d93c02d1fe5af87b54a7df29551236 /Source/cmMakefile.h | |
parent | 52f22616852e6a6e8f642f84fa821e0c8678a679 (diff) | |
download | CMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.zip CMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.tar.gz CMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.tar.bz2 |
cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION.
It costs an extra cmMakefile member and extra code to maintain in
directory property handling. Remove documentation note that it
is read-only and specify high-level command to populate it.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 82a2279..585880e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -387,11 +387,11 @@ public: */ void SetIncludeRegularExpression(const char* regex) { - this->IncludeFileRegularExpression = regex; + this->SetProperty("INCLUDE_REGULAR_EXPRESSION", regex); } const char* GetIncludeRegularExpression() const { - return this->IncludeFileRegularExpression.c_str(); + return this->GetProperty("INCLUDE_REGULAR_EXPRESSION"); } /** @@ -873,7 +873,6 @@ protected: std::vector<cmInstallGenerator*> InstallGenerators; std::vector<cmTestGenerator*> TestGenerators; - std::string IncludeFileRegularExpression; std::string ComplainFileRegularExpression; std::vector<std::string> SourceFileExtensions; std::vector<std::string> HeaderFileExtensions; |