1. 18 Feb, 2021 1 commit
  2. 21 May, 2020 1 commit
  3. 03 Sep, 2019 1 commit
  4. 14 Feb, 2019 1 commit
    • Brad King's avatar
      Fortran: Fix submodule file names across compilers · d80ecba5
      Brad King authored
      The naming convention for submodule files varies across compilers.  Add
      a table to the compiler information modules and thread the information
      through to the Fortran module dependency parser.  Fill out the table for
      compiler ids known to support Fortran submodules.
      
      Fixes: #18746
      d80ecba5
  5. 22 Sep, 2016 1 commit
    • Brad King's avatar
      Ninja: Add explicit preprocessing step for Fortran · 39ebfc79
      Brad King authored
      All Fortran sources need to be preprocessed before any source may be
      compiled so that module dependencies can be (later) extracted.  Factor
      out an explicit preprocessing step preceding compilation.  Use Ninja
      depfile dependencies on the preprocessing step and then compile the
      already-preprocessed source with a separate build statement that depends
      explicitly only on the preprocessor output.  Later we will insert
      dynamic discovery of module dependencies between these steps.
      39ebfc79
  6. 05 Jul, 2016 1 commit
    • Brad King's avatar
      Intel: Do not use GNU-like flags on Windows · f9dbe22c
      Brad King authored
      Refactor options out of `Modules/Compiler/Intel-{ASM,C,CXX,Fortran}.cmake`
      into a common helper in `Modules/Compiler/Intel.cmake`.  Condition
      them to be used only on non-Windows hosts where the Intel compiler
      is GNU-like instead of MSVC-like.
      
      Previously this worked only because the options were later overridden
      by `Modules/Platform/Windows-Intel*.cmake`, but it is cleaner to not
      set the options in the first place.
      f9dbe22c
  7. 13 Jul, 2015 1 commit
    • Brad King's avatar
      Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables · c736de7b
      Brad King authored
      Teach the Makefile and Ninja generators to substitute for an <INCLUDES>
      placeholder instead of putting -I in <FLAGS>.  Update our values for
      
        CMAKE_<LANG>_COMPILE_OBJECT,
        CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and
        CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE
      
      to place <INCLUDES> just before <FLAGS>.
      c736de7b
  8. 10 Nov, 2014 1 commit
  9. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      
      Run the following shell code:
      
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      77543bde
  10. 31 Aug, 2011 1 commit
    • Brad King's avatar
      Fortran: Add support for free- and fixed-form flags · 5c0c635a
      Brad King authored
      Define a "Fortran_FORMAT" target and source file property.  Initialize
      the target property from a "CMAKE_Fortran_FORMAT" variable.  Interpret
      values "FIXED" and "FREE" to indicate the source file format.  Append
      corresponding flags to the compiler command line.
      5c0c635a
  11. 01 Sep, 2009 1 commit
    • Brad King's avatar
      Use Intel for Linux flags only on Linux · 2eca4dd2
      Brad King authored
      The commit "Split Intel compiler information files" moved some Linux
      specific flags into the platform-independent Intel compiler info files.
      This moves them back.
      2eca4dd2
  12. 21 Aug, 2009 1 commit
    • Brad King's avatar
      Split Intel compiler information files · 2ce6a7d0
      Brad King authored
      This moves platform-independent Intel compiler flags into separate
      "Compiler/Intel-<lang>.cmake" modules.  Platform-specific flags are
      left untouched.
      2ce6a7d0
  13. 29 Jul, 2009 1 commit
  14. 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