1. 27 Mar, 2019 1 commit
  2. 30 May, 2017 1 commit
  3. 02 May, 2017 1 commit
  4. 02 Feb, 2017 1 commit
  5. 02 Dec, 2016 1 commit
    • Brad King's avatar
      Features: Make feature recording conditions more consistent · 684e4d20
      Brad King authored
      Condition all calls to `_record_compiler_features_{c,cxx}` on
      `_result EQUAL 0` so that adding new language standards later does
      not need to update them.  Avoid some duplicate compiler version
      checks by conditioning C11 and CXX14 feature recording on the
      existence of `CMAKE_{C11,CXX14}_STANDARD_COMPILE_OPTION` (whose
      setting already used the version check).
  6. 02 Nov, 2016 1 commit
  7. 19 Nov, 2015 1 commit
    • Brad King's avatar
      Project: Guess default standard dialect if compiler was forced (#15852) · 441dba80
      Brad King authored
      Prior to commit v3.4.0-rc1~71^2 (Project: Determine default language
      dialect for the compiler, 2015-09-15) we always guessed the default
      language standard dialect based on the compiler version.  This was not
      reliable so that commit switched to computing the default language
      standard dialect while detecting the compiler id.
      When a toolchain file uses CMakeForceCompiler to set the compiler id
      then the detection does not occur.  Therefore commit v3.4.0-rc1~54^2
      (Project: Don't require computed default dialect if compiler was forced,
      2015-09-22) made the lack of detection an error only if the compiler was
      not forced.  However, this means that projects using CMakeForceCompiler
      no longer even get the guess that we had before so <LANG>_COMPILER does
      not work.
      Due to the sophistication of CMake's compiler detection logic projects
      should be ported away from using CMakeForceCompiler.  In the meantime,
      restore a guess of the default language standard dialect when the
      compiler is forced.
  8. 22 Sep, 2015 1 commit
    • Stephen Kelly's avatar
      Project: Don't require computed default dialect if compiler was forced. · d1375851
      Stephen Kelly authored
      Commit 7235334a (Project: Determine default language dialect for the
      compiler., 2015-09-15) introduced a mechanism to determine the default
      dialect used for the running compiler.  If conditions in
      the <CompilerId>-<Lang>.cmake file are such that compile features for
      that version of the compiler should be supported, the _DEFAULT_STANDARD
      is set to the computed value.
      However, the CMakeForceCompiler module allows users to bypass execution of the
      compiler by CMake.  In that case, do not set the _DEFAULT_STANDARD variable at
      all, which effectively disables the compile-features where the module is used.
      No compile features have ever been recorded where the module is used so no
      functionality is lost.
  9. 18 Sep, 2015 1 commit
  10. 09 Sep, 2015 1 commit
  11. 04 Feb, 2015 1 commit
  12. 21 Jan, 2015 1 commit
  13. 18 Jan, 2015 1 commit
  14. 15 Jan, 2015 4 commits
  15. 11 Jan, 2015 1 commit
  16. 20 Nov, 2014 1 commit
  17. 12 Nov, 2014 2 commits
  18. 14 May, 2014 1 commit
    • Stephen Kelly's avatar
      Features: Extend concept to C language. · e0890d03
      Stephen Kelly authored
      Add properties and variables corresponding to CXX equivalents.
      Add features for c_function_prototypes (C90), c_restrict (C99),
      c_variadic_macros (C99) and c_static_assert (C11). This feature
      set can be extended later.
      Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader
      to conditionally represent the c_restrict feature.
  19. 28 Jan, 2010 1 commit
  20. 02 Dec, 2009 1 commit
    • Brad King's avatar
      Split GNU compiler information files · e28c16b4
      Brad King authored
      This moves GNU compiler flags into new-style modules
      We use language-independent helper modules
      to define macros consolidating the information.
  21. 23 Jul, 2009 1 commit
    • Brad King's avatar
      ENH: Implicit link info for C, CXX, and Fortran · 07ea19ad
      Brad King authored
      This teaches CMake to detect implicit link information for C, C++, and
      Fortran compilers.  We detect the implicit linker search directories and
      implicit linker options for UNIX-like environments using verbose output
      from compiler front-ends.  We store results in new variables called
      The implicit libraries can contain linker flags as well as library