diff options
author | Brad King <brad.king@kitware.com> | 2016-06-16 15:14:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-17 18:49:29 (GMT) |
commit | 5467e7945d46f5f8540a6e11933c9b6b584036a2 (patch) | |
tree | e3a21119976015761066e4c9a3821b6b85bb1873 /Source/cmCommonTargetGenerator.h | |
parent | 49f10f0d24420f7d96c5153ba64a16b3f43c4736 (diff) | |
download | CMake-5467e7945d46f5f8540a6e11933c9b6b584036a2.zip CMake-5467e7945d46f5f8540a6e11933c9b6b584036a2.tar.gz CMake-5467e7945d46f5f8540a6e11933c9b6b584036a2.tar.bz2 |
cmLocalGenerator: Add method to get Fortran-specific compiler flags
Add a cmLocalGenerator::GetTargetFortranFlags virtual method to get
generator-specific generation of Fortran-specific flags. Implement it
in cmLocalCommonGenerator by moving the implementation from
cmCommonTargetGenerator::AddFortranFlags. This will allow it to be used
without having a target generator available.
Inspired-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r-- | Source/cmCommonTargetGenerator.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h index dc4974c..0bafde9 100644 --- a/Source/cmCommonTargetGenerator.h +++ b/Source/cmCommonTargetGenerator.h @@ -53,9 +53,6 @@ protected: // The windows module definition source file (.def), if any. cmSourceFile const* ModuleDefinitionFile; - // Compute target-specific Fortran language flags. - void AddFortranFlags(std::string& flags); - std::string Convert( std::string const& source, cmOutputConverter::RelativeRoot relative, cmOutputConverter::OutputFormat output = cmOutputConverter::UNCHANGED); |