1. 25 May, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use enums defined in cmOutputConverter using their fully qualified name. · 25d1ef64
      Daniel Pfeifer authored
      Mostly automated:
      values=("RelativeRoot" "NONE" "FULL" "HOME" "START" "HOME_OUTPUT" "START_OUTPUT"
              "FortranFormat" "FortranFormatNone" "FortranFormatFixed" "FortranFormatFree")
      for i in "${values[@]}"; do git grep -l cmLocalGenerator::$i | xargs sed -i "s|cmLocalGenerator::$i|cmOutputConverter::$i|g"; done
  2. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      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.
  3. 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.
  4. 11 Feb, 2016 1 commit
  5. 24 Oct, 2015 1 commit
  6. 14 Oct, 2015 1 commit
  7. 25 Sep, 2015 1 commit
    • Brad King's avatar
      Ninja: Centralize path conversion in global generator (#15757) · 6e2a4087
      Brad King authored
      In the Ninja generator we run all build rules from the top of the build
      tree rather than changing into each subdirectory.  Therefore we convert
      all paths relative to the HOME_OUTPUT directory.  However, the Convert
      method on cmLocalGenerator restricts relative path conversions to avoid
      leaving the build tree with a "../" sequence.  Therefore conversions
      performed for "subdirectories" that are outside the top of the build
      tree always use full paths while conversions performed for
      subdirectories that are inside the top of the build tree may use
      relative paths to refer to the same files.
      Since Ninja always runs rules from the top of the build tree we should
      convert them using only the top-level cmLocalGenerator in order to
      remain consistent.  Also extend the test suite with a case that fails
      without this fix.
  8. 28 Aug, 2015 2 commits
  9. 09 Jul, 2015 2 commits
  10. 04 Jun, 2015 1 commit
  11. 27 May, 2015 1 commit
    • Stephen Kelly's avatar
      cmLocalGenerator: Require a valid cmState::Snapshot in the ctor. · 3b880a07
      Stephen Kelly authored
      Refactor the local generator creation API to accept a
      cmState::Snapshot.  Adjust MakeLocalGenerator to use the 'current'
      snapshot in cases where there is no parent.  Create the snapshot
      for subdirectories in cmMakefile::AddSubdirectory.
      This means that snapshots are now created at the point of extending the tree,
      as appropriate, and independently of the cmLocalGenerator and cmMakefile they
      represent the state for.
  12. 23 May, 2015 1 commit
    • Stephen Kelly's avatar
      Ninja: Remove some bogus comments. · 444bc349
      Stephen Kelly authored
      The virtual methods are overrides not overloads, the constructor
      is no longer a default variant, the destructor and GetCMakeInstance
      comments add no value, only a typo.
  13. 14 May, 2015 2 commits
  14. 28 Apr, 2015 1 commit
  15. 15 Oct, 2014 1 commit
  16. 13 Oct, 2014 1 commit
    • Brad King's avatar
      Ninja: Fix RC include directories regression · f4c5eade
      Brad King authored
      Changes in commit b9aa5041 (cmLocalGenerator: Simplify GetIncludeFlags
      output formatting, 2014-03-04) caused Windows Resource Compiler include
      directories to be computed as relative paths in the Ninja generator.
      This breaks the cmcldeps handling of include paths.  The reason for the
      regression is that several cmLocalGenerator::GetIncludeFlags callers
      treated the fourth "bool forResponseFile" argument as if it controlled
      whether include directories were a full path.  It actually did control
      that by accident until the above commit.
      Add an explicit "bool forceFullPaths" argument to GetIncludeFlags
      and thread the value through ConvertToIncludeReference as needed.
      Update GetIncludeFlags call sites that really wanted to control the
      forResponseFile setting to be aware of the new argument.  Extend the
      VSResource test to cover this case.
  17. 03 Oct, 2014 1 commit
    • Sylvain Joubert's avatar
      Ninja: Use 'console' pool for CMake re-run if possible (#14915) · 9f32a241
      Sylvain Joubert authored
      The pre-defined 'console' pool is a non-buffered pool that runs with a
      depth of 1.  CMake re-run cannot be run concurrently and it will
      eventually output something.  A non-buffered pool allows to get it as
      soon as possible
      Also, generate the minimal required version of Ninja in the build file.
  18. 02 May, 2014 1 commit
  19. 13 Mar, 2014 1 commit
  20. 12 Mar, 2014 1 commit
    • Brad King's avatar
      Generalize cmCustomCommandGenerator to more fields · bc993f27
      Brad King authored
      Until now the cmCustomCommandGenerator was used only to compute the
      command lines of a custom command.  Generalize it to get the comment,
      working directory, dependencies, and outputs of custom commands.  Update
      use in all generators to support this.
  21. 08 Mar, 2014 1 commit
  22. 04 Mar, 2014 2 commits
  23. 25 Nov, 2013 1 commit
  24. 31 Oct, 2013 1 commit
  25. 19 Jul, 2012 1 commit
  26. 18 Jul, 2012 1 commit
  27. 14 Jun, 2012 2 commits
    • Peter Kuemmel's avatar
      Ninja: undo all the NOSHELL patches · f13a6a08
      Peter Kuemmel authored
    • Peter Kuemmel's avatar
      Ninja: don't use shell when cmake is called directly · 65460860
      Peter Kuemmel authored
      When linking with cmake and vs_link_* the command line
      could be too long for cmd.exe, which needs not to be
      called in this case. (was not cached by a test)
      Introduce rules which don't use the shell and use this
      rule when there are no pre or post step.
      For free we get a small speedup, because cmd is then
      not called.
      Also be more accurate when estimating the
      command line length.
  28. 16 Mar, 2012 1 commit
  29. 13 Mar, 2012 1 commit
  30. 07 Mar, 2012 1 commit
  31. 04 Feb, 2012 1 commit
  32. 02 Feb, 2012 1 commit