1. 09 Apr, 2019 1 commit
    • Robert Maynard's avatar
      CompileFeatures: Now able to presume full language level support · b0f46c48
      Robert Maynard authored
      Previously compilers that only supported the meta-level flags
      would not have any of the granular features listed. Now we
      presume that they have full support and enable all the features.
      
      Update granular feature tests to skip the actual compilation
      checks for the presumed features.
      b0f46c48
  2. 10 May, 2017 1 commit
  3. 01 May, 2017 1 commit
  4. 06 Jul, 2016 1 commit
    • Brad King's avatar
      Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files · a66004be
      Brad King authored
      Document these variables.
      
      Change our convention for setting these variables from:
      
          set(CMAKE_C_FLAGS_INIT "...")
      
      to
      
          string(APPEND CMAKE_C_FLAGS_INIT " ...")
      
      so that any value previously set by a toolchain file will be used.
      
      Automate the conversion with:
      
          sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \
            Modules/Compiler/*.cmake Modules/Platform/*.cmake
      
      and follow up with some manual fixes (e.g. to cases that already
      meant to append).  Also revert the automated changes to contexts
      that are not protected from running multiple times.
      a66004be
  5. 28 Jan, 2010 1 commit
  6. 04 Dec, 2009 1 commit
    • Brad King's avatar
      Generalize support for Portland Group Compiler · c106cb2e
      Brad King authored
      We factor flags from Platform/Linux-PGI-Fortran.cmake into language
      independent helper modules
      
        Compiler/PGI.cmake
        Platform/Linux-PGI.cmake
      
      and invoke the macros from
      
        Compiler/PGI-<lang>.cmake
        Platform/Linux-PGI-<lang>.cmake
      
      This enables general support for the PGI compilers.
      c106cb2e
  7. 29 Jul, 2009 1 commit
    • Brad King's avatar
      Set CMAKE_<LANG>_VERBOSE_FLAG variables for PGI · 35f36727
      Brad King authored
      We set the variables to contain "-v", the verbose front-end output
      option for PGI compilers.  This enables detection of implicit link
      libraries and directories for these compilers.
      35f36727
  8. 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
      
        CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
        CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
      
      The implicit libraries can contain linker flags as well as library
      names.
      07ea19ad