diff options
author | Brad King <brad.king@kitware.com> | 2015-07-29 17:07:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 17:37:54 (GMT) |
commit | e90372a0db3248d4b78d8d7d7020c66cb5dc3803 (patch) | |
tree | c1b2920bccbccaaebcdec3e587cefadea71400f5 /Source/cmCommonTargetGenerator.h | |
parent | 70c21301b274a28dde75b4f2adb141f9b170eb80 (diff) | |
download | CMake-e90372a0db3248d4b78d8d7d7020c66cb5dc3803.zip CMake-e90372a0db3248d4b78d8d7d7020c66cb5dc3803.tar.gz CMake-e90372a0db3248d4b78d8d7d7020c66cb5dc3803.tar.bz2 |
cmCommonTargetGenerator: Factor out Fortran module directory computation
Move computation from GetFortranModuleDirectory to a virtual method
so it can be customized for each type of generator.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r-- | Source/cmCommonTargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h index 5fd976d..0a49e12 100644 --- a/Source/cmCommonTargetGenerator.h +++ b/Source/cmCommonTargetGenerator.h @@ -62,6 +62,7 @@ protected: bool FortranModuleDirectoryComputed; std::string FortranModuleDirectory; std::string GetFortranModuleDirectory(); + virtual std::string ComputeFortranModuleDirectory() const; // Compute target-specific Fortran language flags. void AddFortranFlags(std::string& flags); |