diff options
author | Brad King <brad.king@kitware.com> | 2019-02-13 18:34:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-14 15:23:02 (GMT) |
commit | 72057d9c1582f4b6dec66cd0675860c4c335636e (patch) | |
tree | a8ef46af1c9bc0c90f2569393aed93f2b4d0f74f /Source/cmFortranParser.h | |
parent | 7ae329e2ed84f62165cb11794ad85c6c43dbd7dc (diff) | |
download | CMake-72057d9c1582f4b6dec66cd0675860c4c335636e.zip CMake-72057d9c1582f4b6dec66cd0675860c4c335636e.tar.gz CMake-72057d9c1582f4b6dec66cd0675860c4c335636e.tar.bz2 |
Fortran: Thread compiler id through to internal Fortran parser
Diffstat (limited to 'Source/cmFortranParser.h')
-rw-r--r-- | Source/cmFortranParser.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmFortranParser.h b/Source/cmFortranParser.h index cc5c113..3fbf552 100644 --- a/Source/cmFortranParser.h +++ b/Source/cmFortranParser.h @@ -128,9 +128,14 @@ struct cmFortranFile bool LastCharWasNewline; }; +struct cmFortranCompiler +{ + std::string Id; +}; + struct cmFortranParser_s { - cmFortranParser_s(std::vector<std::string> includes, + cmFortranParser_s(cmFortranCompiler fc, std::vector<std::string> includes, std::set<std::string> defines, cmFortranSourceInfo& info); ~cmFortranParser_s(); @@ -141,6 +146,9 @@ struct cmFortranParser_s std::string SModName(std::string const& mod_name, std::string const& sub_name) const; + // What compiler. + cmFortranCompiler Compiler; + // The include file search path. std::vector<std::string> IncludePath; |