summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-31 16:25:17 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-31 16:25:17 (GMT)
commit1f987c06eaa083aa5eda825ad1a795fd27edf622 (patch)
tree4a7f0605e28330b341b2942e4519f264f77fac7d /Source/cmDependsFortran.h
parent1ebf5aa2dff6631ce1b01d62fae83bdf37253743 (diff)
downloadCMake-1f987c06eaa083aa5eda825ad1a795fd27edf622.zip
CMake-1f987c06eaa083aa5eda825ad1a795fd27edf622.tar.gz
CMake-1f987c06eaa083aa5eda825ad1a795fd27edf622.tar.bz2
ENH: Changes based on patch from Maik Beckmann to copy fortran modules to timestamps only if they have really changed. This optimization should reduce extra rebuilds caused by dependencies on modules whose providers have recompiled but whose interfaces have not changed.
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r--Source/cmDependsFortran.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h
index e8c4a78..61de7e8 100644
--- a/Source/cmDependsFortran.h
+++ b/Source/cmDependsFortran.h
@@ -46,6 +46,10 @@ public:
corresponding stamp file. */
static bool CopyModule(const std::vector<std::string>& args);
+ /** Determine if a mod file and the corresponding mod.stamp file
+ are representing different module information. */
+ static bool ModulesDiffer(const char* modFile, const char* stampFile);
+
/** Method to find an included file in the include path. Fortran
always searches the directory containing the including source
first. */