Skip to content
Snippets Groups Projects
  1. Feb 03, 2021
  2. Jan 16, 2021
  3. Dec 23, 2020
  4. Dec 11, 2020
  5. Nov 29, 2020
    • Marc Chevrier's avatar
      Makefiles Generators: use compiler for dependencies generation · 2c71d051
      Marc Chevrier authored
      Each source compilation generates a dependencies file. These dependencies
      files are consolidated in one file per target. This consolidation is done
      as part of command 'cmake -E cmake_depends` launched before evaluation of
      makefile dependency graph.
      
      The consolidation uses the same approach as `CMake` dependencies management.
      
      Fixes: #21321
      2c71d051
  6. Nov 03, 2020
  7. Oct 14, 2020
  8. Oct 13, 2020
  9. Sep 25, 2020
  10. Sep 06, 2020
  11. Sep 03, 2020
  12. Aug 10, 2020
  13. Jul 24, 2020
    • Brad King's avatar
      bootstrap: Fix support for Intel compiler with modern GNU system compiler · 79646628
      Brad King authored
      On systems with older GNU system compilers, the Intel C++ compiler does
      not define `__cplusplus` to any version newer than C++11.  This
      prevented `bootstrap` from detecting that a given C++ standard flag has
      enabled C++17 mode in the compiler.  In commit 033a4b12 (bootstrap:
      Extend C++17 check for our cast functions, 2019-12-14,
      v3.17.0-rc1~291^2) we added a preprocessor condition to attempt to
      detect C++17 mode in the Intel compiler on such systems by looking
      for `__cpp_if_constexpr`.  However, on systems with a modern GNU
      system compiler, that definition is available even in C++11 mode.
      
      Switch to using `__cpp_deduction_guides` to detect C++17 mode for the
      Intel C++ compiler.  That seems to be defined exclusively in C++17 mode
      regardless of the version of the system compiler.
      
      Fixes: #21013
      79646628
  14. Jul 22, 2020
    • Jean-Christophe Fillion-Robin's avatar
      Fix typos identified using codespell · 20737380
      Jean-Christophe Fillion-Robin authored and Brad King's avatar Brad King committed
      See https://github.com/codespell-project/codespell#readme
      
      The following command was used:
      
      ```
      codespell -q6 --skip="\
      .git,\
      *.json,\
      ./Copyright.txt,\
      ./Help/command/foreach.rst,\
      ./Help/prop_test/REQUIRED_FILES.rst,\
      ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
      ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
      ./Modules/CMakeRCInformation.cmake,\
      ./Modules/Internal/CPack/NSIS.template.in,\
      ./Modules/FindMatlab.cmake,\
      ./Modules/MatlabTestsRedirect.cmake,\
      ./Modules/Platform/Windows-Clang.cmake,\
      ./Modules/Platform/Windows-Intel-Fortran.cmake,\
      ./Modules/Platform/Windows-MSVC.cmake,\
      ./Source/CMakeVersion.cmake,\
      ./Source/cmConvertMSBuildXMLToJSON.py,\
      ./Source/cmCreateTestSourceList.cxx,\
      ./Source/cmGlobalVisualStudio10Generator.cxx,\
      ./Source/cmExportBuildFileGenerator.cxx,\
      ./Source/cmExportInstallAndroidMKGenerator.cxx,\
      ./Source/cmExportInstallFileGenerator.cxx,\
      ./Source/cmExportSet.cxx,\
      ./Source/cmExportTryCompileFileGenerator.cxx,\
      ./Source/cmFindPackageCommand.cxx,\
      ./Source/cmInstallCommand.cxx,\
      ./Source/cmGeneratorExpressionLexer.cxx,\
      ./Source/cmLocalVisualStudio7Generator.cxx,\
      ./Source/cmOrderDirectories.cxx,\
      ./Source/cmTarget.cxx,\
      ./Source/kwsys/*,\
      ./Source/QtDialog/CMakeSetupDialog.ui,\
      ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
      ./Source/CTest/cmParseCoberturaCoverage.h,\
      ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
      ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
      ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
      ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
      ./Tests/RunCMake/GoogleTest/xml_output.cpp,\
      ./Tests/RunCMake/Make/TargetMessages*,\
      ./Utilities/*,\
      " \
      -L "\
      dependees,\
      endwhile,\
      fo,\
      filetest,\
      helpfull,\
      nd,\
      objext,\
      stoll,\
      supercedes,\
      superceded,\
      vas,\
      varn,\
      "
      ```
      20737380
  15. Jul 20, 2020
  16. Jul 09, 2020
  17. Jul 06, 2020
  18. Jul 01, 2020
  19. May 26, 2020
  20. May 15, 2020
  21. May 07, 2020
  22. May 05, 2020
  23. May 04, 2020
    • Brad King's avatar
      bootstrap: Use 'tr' more portably · 9febdd82
      Brad King authored
      Since commit 380bd70c (bootstrap: implement cmake_toupper() using tr,
      2017-06-07, v3.10.0-rc1~548^2~2) we use `tr` to convert from lower to
      upper case.  However, the character classes `[:lower:]` and `[:upper:]`
      result in a "Bad string" error message on Solaris.  Use `[a-z]` and
      `[A-Z]` instead.
      9febdd82
  24. Apr 07, 2020
  25. Mar 17, 2020
  26. Feb 01, 2020
  27. Jan 09, 2020
  28. Dec 14, 2019
    • Brad King's avatar
      bootstrap: Extend C++17 check for our cast functions · 033a4b12
      Brad King authored
      In commit fc3b4caa (Memory management: cast functions for managed pointers,
      2019-11-18) we added a check to `Source/Checks/cm_cxx17_check.cpp` to avoid
      using C++17 mode on a compiler that does not support all our C++17 usage.
      Add the check to our bootstrap script too.
      033a4b12
  29. Dec 09, 2019
  30. Nov 24, 2019
  31. Oct 29, 2019
    • Brad King's avatar
      bootstrap: Avoid redundant compiler selection checks · 1dbf4859
      Brad King authored
      In commit 6e613ff3 (bootstrap: Add infrastructure to detect threading
      flags, 2017-11-28, v3.11.0-rc1~281^2~1) an extra level of nesting was
      added to the selection loop, but the inner-most `break` command used to
      exit the loop on success was not updated.  This caused the outer-most
      loop to iterate unnecessarily and repeatedly try the same compilers
      again.  In the case of compilers requiring a `-std=` flag, this may have
      caused the oldest standard to be used instead of the newest.
      1dbf4859
  32. Oct 07, 2019
    • Corentin Plouët's avatar
      Graphviz: added test suite, fixes, enhancements · 55365839
      Corentin Plouët authored
      * Added a fairly comprehensive test suite
      * Separated the graph traversal logic from the Graphviz generation
        code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx}
      * Made the graph traversal logic less ad-hoc by using existing
        methods in the GlobalGenerator; this fixed a few bugs
      * Added support for new target types: custom targets, object
        and unknown libraries
      * Improved support for ALIAS libraries by showing the alias(es)
        in the graph
      * Introduced new flags to control those new libraries (consistent
        with existing flags)
      * Updated the documentation
      * Removed useless setting to set graph type in dot file
      * Improved the node/edge shapes (nicer, more consistent)
      * Added a legend to the graph
      * Some refactoring and cleanup of the Graphviz generation code
      * Added test and fix for issue 19746
      55365839
  33. Sep 23, 2019
  34. Sep 20, 2019
    • Brad King's avatar
      bootstrap: Require GCC 4.9 or higher on HP-UX · ba315f20
      Brad King authored
      Revise for future removal of the early rejection checks on HP-UX.
      Our code may now work with GCC 4.9 on HP-UX when manually using
      `env CXXFLAGS=-D_GLIBCXX_USE_C99` to make the C++11 `std::to_string`
      available on this platform.  However, without nightly testing we
      cannot officially enable support for the platform.
      
      Issue: #17137
      Co-Author: Earle Lowe <elowe@elowe.com>
      ba315f20
Loading