summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-09 15:30:11 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-09 15:30:11 (GMT)
commitb761da39c14c9f003d9113418aca9370f30a5e6e (patch)
tree3307dab56eb95df89992cb8c407dbe6d9d625fe4 /Source/cmDependsFortran.h
parent09e309c3d097f8cc58fc16c4194d0f51dec9f02d (diff)
downloadCMake-b761da39c14c9f003d9113418aca9370f30a5e6e.zip
CMake-b761da39c14c9f003d9113418aca9370f30a5e6e.tar.gz
CMake-b761da39c14c9f003d9113418aca9370f30a5e6e.tar.bz2
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r--Source/cmDependsFortran.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h
index f6aaa7c..59e44da 100644
--- a/Source/cmDependsFortran.h
+++ b/Source/cmDependsFortran.h
@@ -36,7 +36,8 @@ public:
path from the build directory to the target file, the source
file from which to start scanning, the include file search
path, and the target directory. */
- cmDependsFortran(std::vector<std::string> const& includes);
+ cmDependsFortran(std::vector<std::string> const& includes,
+ std::vector<std::string> const& defines);
/** Virtual destructor to cleanup subclasses properly. */
virtual ~cmDependsFortran();
@@ -86,6 +87,7 @@ protected:
// The include file search path.
std::vector<std::string> const* IncludePath;
+ std::vector<std::string> PPDefinitions;
// Internal implementation details.
cmDependsFortranInternals* Internal;