summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 19:50:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:07 (GMT)
commit0b22c0b815974de148b5fed3a33a3337380347c9 (patch)
tree4714d27ceca8561c5f8c3ec58d68e24e2052c81e /Source/cmCommonTargetGenerator.h
parentb2f51aef0d518be6be6fba05147dd53125cdb731 (diff)
downloadCMake-0b22c0b815974de148b5fed3a33a3337380347c9.zip
CMake-0b22c0b815974de148b5fed3a33a3337380347c9.tar.gz
CMake-0b22c0b815974de148b5fed3a33a3337380347c9.tar.bz2
cmCommonTargetGenerator: Adopt AddFortranFlags and friends
Move AddFortranFlags, GetFortranModuleDirectory, and supporting members up from cmMakefileTargetGenerator.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index f8a7cf3..c1c08f6 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -55,6 +55,14 @@ protected:
// The windows module definition source file (.def), if any.
std::string ModuleDefinitionFile;
+ // Target-wide Fortran module output directory.
+ bool FortranModuleDirectoryComputed;
+ std::string FortranModuleDirectory;
+ const char* GetFortranModuleDirectory();
+
+ // Compute target-specific Fortran language flags.
+ void AddFortranFlags(std::string& flags);
+
std::string Convert(std::string const& source,
cmLocalGenerator::RelativeRoot relative,
cmLocalGenerator::OutputFormat output =