summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r--Source/cmDependsFortran.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h
index e00681e..3b35315 100644
--- a/Source/cmDependsFortran.h
+++ b/Source/cmDependsFortran.h
@@ -31,9 +31,10 @@ public:
/** Scanning need to know the build directory name, the relative
path from the build directory to the target file, the source
- file from which to start scanning, and the include file search
- path. */
- cmDependsFortran(std::vector<std::string> const& includes);
+ file from which to start scanning, the include file search
+ path, and the target directory. */
+ cmDependsFortran(std::vector<std::string> const& includes,
+ std::string const& targetDirectory);
/** Virtual destructor to cleanup subclasses properly. */
virtual ~cmDependsFortran();
@@ -61,6 +62,9 @@ protected:
// The include file search path.
std::vector<std::string> const* IncludePath;
+ // The full path to the target's build directory.
+ std::string TargetDirectory;
+
private:
cmDependsFortran(cmDependsFortran const&); // Purposely not implemented.
void operator=(cmDependsFortran const&); // Purposely not implemented.