From b761da39c14c9f003d9113418aca9370f30a5e6e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 9 Jan 2008 10:30:11 -0500 Subject: 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. --- Source/cmDependsFortran.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/cmDependsFortran.h') diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h index f6aaa7c2a0..59e44da109 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 const& includes); + cmDependsFortran(std::vector const& includes, + std::vector const& defines); /** Virtual destructor to cleanup subclasses properly. */ virtual ~cmDependsFortran(); @@ -86,6 +87,7 @@ protected: // The include file search path. std::vector const* IncludePath; + std::vector PPDefinitions; // Internal implementation details. cmDependsFortranInternals* Internal; -- cgit v1.2.1