summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-21 19:05:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-22 17:53:09 (GMT)
commit9a77680eed49939f8ba418af96eefd42ecea0ae1 (patch)
treecd0f4e9a8848803c91fc6b6269a5c226283ee2d5 /Source/cmGlobalNinjaGenerator.h
parent0f331d7893bee523e61109661d4e51566f41c350 (diff)
downloadCMake-9a77680eed49939f8ba418af96eefd42ecea0ae1.zip
CMake-9a77680eed49939f8ba418af96eefd42ecea0ae1.tar.gz
CMake-9a77680eed49939f8ba418af96eefd42ecea0ae1.tar.bz2
Ninja: Conditionally allow Fortran based on ninja 'dyndep' support
Detect from the version of Ninja whether it supports the dynamically discovered dependencies (dyndep) feature needed to support Fortran.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 6fb93e4..76430a0 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -367,6 +367,7 @@ private:
void CheckNinjaFeatures();
bool CheckLanguages(std::vector<std::string> const& languages,
cmMakefile* mf) const CM_OVERRIDE;
+ bool CheckFortran(cmMakefile* mf) const;
void OpenBuildFileStream();
void CloseBuildFileStream();