Browse Source

Merge topic 'ninja-fortran-doc'

f2fa7d20b2 Merge branch 'backport-3.17-ninja-fortran-doc' into ninja-fortran-doc
fa31c195b8 Ninja: Document that Fortran support is available with Ninja 1.10+

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4626
Brad King 5 years ago
parent
commit
aae1efc7d2
2 changed files with 2 additions and 13 deletions
  1. 1 5
      Help/generator/Ninja.rst
  2. 1 8
      Source/cmGlobalNinjaGenerator.cxx

+ 1 - 5
Help/generator/Ninja.rst

@@ -33,11 +33,7 @@ Fortran Support
 ^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^
 
 
 The ``Ninja`` generator conditionally supports Fortran when the ``ninja``
 The ``Ninja`` generator conditionally supports Fortran when the ``ninja``
-tool has the required features.  As of this version of CMake the needed
-features have not been integrated into upstream Ninja.  Kitware maintains
-a branch of Ninja with the required features on `github.com/Kitware/ninja`_.
-
-.. _`github.com/Kitware/ninja`: https://github.com/Kitware/ninja/tree/features-for-fortran#readme
+tool is at least version 1.10 (which has the required features).
 
 
 See Also
 See Also
 ^^^^^^^^
 ^^^^^^^^

+ 1 - 8
Source/cmGlobalNinjaGenerator.cxx

@@ -712,14 +712,7 @@ bool cmGlobalNinjaGenerator::CheckFortran(cmMakefile* mf) const
   e <<
   e <<
     "The Ninja generator does not support Fortran using Ninja version\n"
     "The Ninja generator does not support Fortran using Ninja version\n"
     "  " << this->NinjaVersion << "\n"
     "  " << this->NinjaVersion << "\n"
-    "due to lack of required features.  "
-    "Kitware has implemented the required features and they have been "
-    "merged to upstream ninja for inclusion in Ninja 1.10 and higher.  "
-    "As of this version of CMake, Ninja 1.10 has not been released.  "
-    "Meanwhile, Kitware maintains a branch of Ninja at:\n"
-    "  https://github.com/Kitware/ninja/tree/features-for-fortran#readme\n"
-    "with the required features.  "
-    "One may build ninja from that branch to get support for Fortran."
+    "due to lack of required features.  Ninja 1.10 or higher is required."
     ;
     ;
   /* clang-format on */
   /* clang-format on */
   mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
   mf->IssueMessage(MessageType::FATAL_ERROR, e.str());