Skip to content
Snippets Groups Projects
  1. Apr 26, 2021
  2. Apr 14, 2021
  3. Mar 01, 2021
  4. Feb 03, 2021
  5. Jan 16, 2021
  6. Dec 23, 2020
  7. Dec 11, 2020
  8. 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
  9. Nov 03, 2020
  10. Oct 14, 2020
  11. Oct 13, 2020
  12. Sep 25, 2020
  13. Sep 06, 2020
  14. Sep 03, 2020
  15. Aug 10, 2020
  16. 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
  17. 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
  18. Jul 20, 2020
  19. Jul 09, 2020
  20. Jul 06, 2020
  21. Jul 01, 2020
  22. May 26, 2020
  23. May 15, 2020
  24. May 07, 2020
  25. May 05, 2020
  26. 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
  27. Apr 07, 2020
  28. Mar 17, 2020
  29. Feb 01, 2020
  30. Jan 09, 2020
  31. 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
  32. Dec 09, 2019
  33. Nov 24, 2019
  34. 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
Loading