1. 01 Feb, 2019 2 commits
  2. 02 Jul, 2018 1 commit
  3. 10 Jan, 2018 2 commits
    • Ben Boeckel's avatar
      cmSourceFile: mark known locations as such · d6dfde3c
      Ben Boeckel authored
      Primarily, this includes:
      
        - the rule files generated for custom targets;
        - source files representing custom targets directly;
        - outputs of custom commands;
        - byproducts of custom commands; and
        - dependencies of custom commands.
      d6dfde3c
    • Ben Boeckel's avatar
      cmSourceFileLocation: allow skipping ambiguous extensions · b0716fbc
      Ben Boeckel authored
      The ambiguous extension logic is an old behavior that ends up taking
      lots of extra compute cycles to execute. This is triggered by various
      CMake codepaths which pass extension-less paths down when CMake actually
      knows that they are not ambiguous. These codepaths will be indicated in
      upcoming changes.
      
      Various APIs have gained a cmSourceFileLocationKind parameter, but they
      are all optional and default to the existing behavior.
      b0716fbc
  4. 08 Jan, 2018 1 commit
  5. 26 Aug, 2017 1 commit
  6. 24 Aug, 2017 1 commit
  7. 22 Aug, 2017 1 commit
  8. 10 Jul, 2017 1 commit
    • UfoXp's avatar
      Add more extensions to Resources source group by default · 2c82d9c8
      UfoXp authored and Brad King's avatar Brad King committed
      Extend the Resources group regex to match pdf, png, jpeg, jpg,
      storyboards, and xcassets.  This cleans up more complex Xcode projects a
      lot.
      
      While at it, factor the regular expressions for both "Resources" and
      "Source Files" into macros.
      2c82d9c8
  9. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  10. 01 Mar, 2017 1 commit
  11. 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 lin...
      86578ecc
  12. 03 Sep, 2016 1 commit
  13. 28 Jun, 2016 1 commit
  14. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored and Brad King's avatar Brad King committed
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      d9fd2f54
  15. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
      180538c7
  16. 07 Jun, 2015 1 commit
  17. 28 Apr, 2014 3 commits
  18. 03 Apr, 2014 1 commit
  19. 31 Mar, 2014 1 commit
  20. 08 Mar, 2014 4 commits
  21. 16 Oct, 2013 1 commit
    • Brad King's avatar
      Drop builtin property documentation · 399e9c46
      Brad King authored
      Drop all DefineProperty calls for non-chained properties.  Drop the
      documentation from the chained ones.  The documentation for all
      properties is now in Help/prop_*/*.rst files.
      399e9c46
  22. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored and Brad King's avatar Brad King committed
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      
      Run the following shell code:
      
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
      7bbaa428
  23. 28 Mar, 2012 1 commit
    • Brad King's avatar
      Classify known header file extensions as headers · 9a2c60eb
      Brad King authored
      Commit 328c0f65 (Simplify cmVisualStudio10TargetGenerator source
      classification, 2012-03-19) introduced the first use of source
      classification from cmGeneratorTarget (which originated as Makefile
      generator logic) in a Visual Studio generator for handling of header
      files.  Fix classification of header files to match known header
      extensions instead of only the HEADER_FILE_ONLY property.  Make it
      consistent with the "Header Files" source group.
      9a2c60eb
  24. 15 Jul, 2011 1 commit
  25. 13 Sep, 2010 1 commit
  26. 01 Oct, 2009 1 commit
  27. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  28. 29 Apr, 2008 1 commit
  29. 30 Jan, 2008 1 commit
  30. 17 Jan, 2008 1 commit
  31. 17 Dec, 2007 1 commit
  32. 18 Jun, 2007 1 commit
    • Brad King's avatar
      ENH: Merging changes from branch CMake-SourceFile2-b between tags · 35936433
      Brad King authored
      CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk.  This
      commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and
      CMake-SourceFile2-b-mp1-post on the trunk.
      
      The changes re-implement cmSourceFile and the use of it to allow
      instances to be created much earlier.  The use of cmSourceFileLocation
      allows locating a source file referenced by a user to be much simpler
      and more robust.  The two SetName methods are no longer needed so some
      duplicate code has been removed.  The strange "SourceName" stuff is
      gone.  Code that created cmSourceFile instances on the stack and then
      sent them to cmMakefile::AddSource has been simplified and converted
      to getting cmSourceFile instances from cmMakefile.  The CPluginAPI has
      preserved the old API through a compatibility interface.
      
      Source lists are gone.  Targets now get real instances of cmSourceFile
      right away instead of storing a list of strings until the final pass.
      
      TraceVSDependencies has been re-written to avoid the use of
      SourceName.  It is now called TraceDependencies since it is not just
      for VS.  It is now implemented with a helper object which makes the
      code simpler.
      35936433
  33. 28 May, 2007 1 commit