summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-08-09 15:28:31 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-08-09 15:28:31 (GMT)
commit791337f18124d745dd08a8f141cc258656dc052b (patch)
tree6c51b25ee52a5722ea582fa6853cdade7bc2f476 /Source/cmCommonTargetGenerator.h
parent7e3250da2fa0155a8c83b3aadef0407a701f2953 (diff)
downloadCMake-791337f18124d745dd08a8f141cc258656dc052b.zip
CMake-791337f18124d745dd08a8f141cc258656dc052b.tar.gz
CMake-791337f18124d745dd08a8f141cc258656dc052b.tar.bz2
Refactor: cmCommonTargetGenerator::GetFeature returns cmProp
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index e1a4f8b..463a445 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -8,6 +8,8 @@
#include <string>
#include <vector>
+#include "cmProperty.h"
+
class cmGeneratorTarget;
class cmGlobalCommonGenerator;
class cmLinkLineComputer;
@@ -28,8 +30,7 @@ public:
protected:
// Feature query methods.
- const char* GetFeature(const std::string& feature,
- const std::string& config);
+ cmProp GetFeature(const std::string& feature, const std::string& config);
// Helper to add flag for windows .def file.
void AddModuleDefinitionFlag(cmLinkLineComputer* linkLineComputer,