summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 19:49:03 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:06 (GMT)
commitb2f51aef0d518be6be6fba05147dd53125cdb731 (patch)
tree6608101c4ac01a52e5d4bd53612fe047be4e5115 /Source/cmCommonTargetGenerator.h
parentcdb5b65752c5a009ac3bb7425637da808a7a9bca (diff)
downloadCMake-b2f51aef0d518be6be6fba05147dd53125cdb731.zip
CMake-b2f51aef0d518be6be6fba05147dd53125cdb731.tar.gz
CMake-b2f51aef0d518be6be6fba05147dd53125cdb731.tar.bz2
cmCommonTargetGenerator: Adopt Convert method
Move it up from cmMakefileTargetGenerator.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index deeb5ee..f8a7cf3 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -14,6 +14,8 @@
#include "cmStandardIncludes.h"
+#include "cmLocalGenerator.h"
+
class cmGeneratorTarget;
class cmGlobalCommonGenerator;
class cmLocalCommonGenerator;
@@ -52,6 +54,11 @@ protected:
// The windows module definition source file (.def), if any.
std::string ModuleDefinitionFile;
+
+ std::string Convert(std::string const& source,
+ cmLocalGenerator::RelativeRoot relative,
+ cmLocalGenerator::OutputFormat output =
+ cmLocalGenerator::UNCHANGED);
};
#endif