summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 08:52:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-22 18:25:48 (GMT)
commit8d336875b3cea99e5c458d3e299d8caf8bc84b75 (patch)
treef6f861a28e22c7bbe068b9004ac924be1ca4d842 /Source/cmMakefile.h
parent514a1dff5b532c94dca2f77ed6d8742f45c48ddc (diff)
downloadCMake-8d336875b3cea99e5c458d3e299d8caf8bc84b75.zip
CMake-8d336875b3cea99e5c458d3e299d8caf8bc84b75.tar.gz
CMake-8d336875b3cea99e5c458d3e299d8caf8bc84b75.tar.bz2
cmMakefile: Use Ranges for buildsystem property access.
Don't return vector copies.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8f236af..27911a9 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -22,6 +22,7 @@
#include "cmExpandedCommandArgument.h"
#include "cmake.h"
#include "cmState.h"
+#include "cmAlgorithms.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmSourceGroup.h"
@@ -746,12 +747,12 @@ public:
/** Set whether or not to report a CMP0000 violation. */
void SetCheckCMP0000(bool b) { this->CheckCMP0000 = b; }
- std::vector<std::string> GetIncludeDirectoriesEntries() const;
- std::vector<cmListFileBacktrace> GetIncludeDirectoriesBacktraces() const;
- std::vector<std::string> GetCompileOptionsEntries() const;
- std::vector<cmListFileBacktrace> GetCompileOptionsBacktraces() const;
- std::vector<std::string> GetCompileDefinitionsEntries() const;
- std::vector<cmListFileBacktrace> GetCompileDefinitionsBacktraces() const;
+ cmStringRange GetIncludeDirectoriesEntries() const;
+ cmBacktraceRange GetIncludeDirectoriesBacktraces() const;
+ cmStringRange GetCompileOptionsEntries() const;
+ cmBacktraceRange GetCompileOptionsBacktraces() const;
+ cmStringRange GetCompileDefinitionsEntries() const;
+ cmBacktraceRange GetCompileDefinitionsBacktraces() const;
bool IsConfigured() const { return this->Configured; }
void SetConfigured(){ this->Configured = true; }