summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-30 19:30:51 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-03 18:20:26 (GMT)
commitfb9da8e6f421263e8904e8d12586bf7b068ed3b4 (patch)
tree70e48754291416be101a0e839331d134ff8772af /Source/cmNinjaTargetGenerator.h
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadCMake-fb9da8e6f421263e8904e8d12586bf7b068ed3b4.zip
CMake-fb9da8e6f421263e8904e8d12586bf7b068ed3b4.tar.gz
CMake-fb9da8e6f421263e8904e8d12586bf7b068ed3b4.tar.bz2
Ninja: Pass preprocessor definitions when compiling with Intel Fortran
The Intel Fortran compiler supports an extension that allows conditional compilation based on preprocessor definitions specified on the command line even when not preprocessing. Fixes: #19664
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index a99d8e7..e304bc7 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -70,6 +70,7 @@ protected:
std::string LanguageDyndepRule(std::string const& lang) const;
bool NeedDyndep(std::string const& lang) const;
bool UsePreprocessedSource(std::string const& lang) const;
+ bool CompilePreprocessedSourceWithDefines(std::string const& lang) const;
std::string OrderDependsTargetForTarget();