diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-06-10 14:58:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-17 18:22:29 (GMT) |
commit | 49f10f0d24420f7d96c5153ba64a16b3f43c4736 (patch) | |
tree | bd6ae93de51dc222b30bb127bb5d336dc157df90 /Source/cmGeneratorTarget.h | |
parent | 0392f72bef5f1394c2dba3740f2a701fe1a98f0d (diff) | |
download | CMake-49f10f0d24420f7d96c5153ba64a16b3f43c4736.zip CMake-49f10f0d24420f7d96c5153ba64a16b3f43c4736.tar.gz CMake-49f10f0d24420f7d96c5153ba64a16b3f43c4736.tar.bz2 |
cmGeneratorTarget: Adopt Fortran module directory generation
Move code to create/get the fortran module directory from the
cmCommonTargetGenerator to cmGeneratorTarget.
Rename the ComputeFortranModuleDirectory method to
CreateFortranModuleDirectory as this method *creates* the directory if
it is missing.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 63208bc..2ee9bef 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -526,7 +526,13 @@ public: void GetTargetVersion(bool soversion, int& major, int& minor, int& patch) const; + std::string GetFortranModuleDirectory() const; + private: + std::string CreateFortranModuleDirectory() const; + mutable bool FortranModuleDirectoryCreated; + mutable std::string FortranModuleDirectory; + friend class cmTargetTraceDependencies; struct SourceEntry { |