summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-19 19:28:46 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-19 19:28:46 (GMT)
commit891256546b5bdb8ad7f9d29014b972c93abd39bf (patch)
treedd19fa07cd8226b7a6d842263d486d34f469228c /Source/cmDependsFortran.h
parent9ccba7c391fef39697bfa1fb15d0ef887464a45b (diff)
downloadCMake-891256546b5bdb8ad7f9d29014b972c93abd39bf.zip
CMake-891256546b5bdb8ad7f9d29014b972c93abd39bf.tar.gz
CMake-891256546b5bdb8ad7f9d29014b972c93abd39bf.tar.bz2
ENH: Pass target directory to cmDependsFortran scanning instances.
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.