diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 19:50:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-09 13:50:07 (GMT) |
commit | 0b22c0b815974de148b5fed3a33a3337380347c9 (patch) | |
tree | 4714d27ceca8561c5f8c3ec58d68e24e2052c81e /Source/cmCommonTargetGenerator.h | |
parent | b2f51aef0d518be6be6fba05147dd53125cdb731 (diff) | |
download | CMake-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.h | 8 |
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 = |