1. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
  2. 01 Jul, 2016 1 commit
  3. 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
      to place <INCLUDES> just before <FLAGS>.
  4. 27 Aug, 2014 1 commit
  5. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • 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
  6. 16 Aug, 2011 1 commit
  7. 02 Mar, 2011 1 commit
  8. 23 Feb, 2011 2 commits
  9. 30 Jan, 2011 1 commit
    • Alexander Neundorf's avatar
      Rework the way assembler is handled, use the C/CXX compiler by default · 4b40d429
      Alexander Neundorf authored
      This commit changes the way how the assembler support works in cmake.
      The language "ASM" now always uses the C/Cxx compiler instead
      of the assembler directly. This fixes #8392, assembler files are
      not preprocessed.
      If one wants to use the assembler directly, the specific
      assembler "dialect" has to be enabled. I.e. to get as/gas,
      you have to use now ASM-ATT, the same way for ASM_MASM and ASM_NASM.
      Implemented this now for gcc.
      SunStudio, IBM, HP and Intel still todo.
  10. 15 Aug, 2010 1 commit
    • Alexander Neundorf's avatar
      Detect a COMPILER_ID also for ASM. · b333779e
      Alexander Neundorf authored
      For assembler, the "compiler ID" cannot be detected by "compiling" a
      source file, since there is not source file all assemblers understand.
      Instead the function CMAKE_DETERMINE_COMPILER_ID_VENDOR() is used to
      run the assembler and check its output.
      For this the CMAKE_DETERMINE_COMPILER_ID_VENDOR() function had to be
      extended so that it creates the run directory if it doesn't exist yet.
      In CMakeASMInformation.cmake now also CMAKE_ASM_COMPILER_ID is used
      (but there are no such files yet, will come with the support for the
      IAR toolchain).
  11. 09 Aug, 2010 1 commit
  12. 12 May, 2010 2 commits
  13. 01 Oct, 2009 1 commit
  14. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake non-find modules to BSD License · 3a666595
      Brad King authored
      This adds copyright/license notification blocks CMake's non-find
      modules.  Most of the modules had no notices at all.  Some had notices
      referring to the BSD license already.  This commit normalizes existing
      notices and adds missing notices.
  15. 27 Feb, 2009 1 commit
  16. 14 Oct, 2008 1 commit
  17. 03 Mar, 2008 1 commit
  18. 11 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · d885d45b
      Alexander Neundorf authored
      ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow preset
      CMAKE_xxx_INFORMATION files
  19. 28 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · 5b18b80b
      Alexander Neundorf authored
      ENH: initial support for assembler in cmake, needs testing by our users