summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-29 17:07:02 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-29 17:37:54 (GMT)
commite90372a0db3248d4b78d8d7d7020c66cb5dc3803 (patch)
treec1b2920bccbccaaebcdec3e587cefadea71400f5 /Source/cmCommonTargetGenerator.h
parent70c21301b274a28dde75b4f2adb141f9b170eb80 (diff)
downloadCMake-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.h1
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);