1. 16 Mar, 2019 1 commit
  2. 05 Mar, 2019 1 commit
  3. 28 Jan, 2019 1 commit
  4. 22 Jan, 2019 3 commits
  5. 13 Jan, 2019 1 commit
    • Craig Scott's avatar
      cmake: Ensure source and binary dirs are set · 27eb7c5b
      Craig Scott authored
      If only the source dir is provided, the binary dir is assumed
      to be the working directory. If only the binary dir is provided
      and it doesn't yet have a CMakeCache.txt to provide the
      source dir, then the source dir is assumed to be the working
      directory. This logic was not previously being handled
      correctly when -S and/or -B options were involved.
      Furthermore, when both were missing, no suitable error
      message was provided and an empty string was used for
      the build directory.
      
      Fixes: #18707
      27eb7c5b
  6. 10 Jan, 2019 1 commit
  7. 29 Dec, 2018 1 commit
  8. 27 Nov, 2018 1 commit
  9. 05 Nov, 2018 1 commit
  10. 26 Oct, 2018 1 commit
  11. 18 Sep, 2018 1 commit
    • Jon Chronopoulos's avatar
      cmake: Add '-E create_symlink' support on Windows · afb7f6e4
      Jon Chronopoulos authored
      The allows `-E create_symlink` to work on Windows.  It utilizes
      `uv_fs_symlink`.  I am still unsure exactly which Windows platforms will
      work without requiring Administrator privileges or needing a user/group
      with the "Create Symbolic Links" User Rights.  It does work with my
      Windows 10 Pro with Developer Mode turned on.  In the test suite check
      that the symlink either worked or failed with a permissions error.
      
      Use recent changes in cmSystemTools::FileExists to check that a symlink
      is broken.
      afb7f6e4
  12. 15 Sep, 2018 1 commit
  13. 22 Jun, 2018 1 commit
  14. 25 May, 2018 1 commit
    • Florian Maushart's avatar
      cmake: Add options for parallel builds to --build mode · 1ab3881e
      Florian Maushart authored
      While we already support `cmake --build . -- -j`, the options after `--`
      are specific to the native build tool.  Add new options `--parallel
      [<N>]` and `-j [<N>]` to abstract this and map to the proper option
      for the native build tool.
      1ab3881e
  15. 09 Apr, 2018 1 commit
  16. 02 Apr, 2018 1 commit
  17. 13 Sep, 2017 1 commit
    • Bill Hoffman's avatar
      Clean up iwyu code to not be one big if statement. · 3bbe95f5
      Bill Hoffman authored
      This commit changes the internal -E__run_iwyu to be -E__run_co_compile. This
      is used for co-compile commands. These are tools that want to mirror the
      compiler. For each compiler invocation the tool will be invoked first. This
      started as a way to implement include what you use (iwyu), but has expanded
      to include cpplint, cppcheck and others. Likely there will be more in the
      future as well. This commit implements each one in its own function and
      provides a way to add additional ones in the future with less work.
      3bbe95f5
  18. 14 Jul, 2017 1 commit
  19. 09 Jul, 2017 1 commit
  20. 21 Apr, 2017 1 commit
  21. 19 Apr, 2017 1 commit
  22. 27 Feb, 2017 1 commit
  23. 22 Sep, 2016 1 commit
    • Tobias Hunger's avatar
      server-mode: Introduce cmServerConnection · 1d601c6c
      Tobias Hunger authored
      Use it to split pipe and stdin/out handling out of cmServer itself.
      
      The server will shut down when it looses its connection to the client.
      This has the nice property that a crashing client will cause the server
      to terminate as the OS will close the connection on behave of the client.
      1d601c6c
  24. 19 Sep, 2016 1 commit
    • Tobias Hunger's avatar
      cmake-server: Bare-bones server implementation · b13d3e0d
      Tobias Hunger authored
      Adds a bare-bones cmake-server implementation and makes it possible
      to start that with "cmake -E server".
      
      Communication happens via stdin/stdout for now.
      
      Protocol is based on Json objects surrounded by magic strings
      ("[== CMake Server ==[" and "]== CMake Server ==]"), which simplifies
      Json parsing significantly.
      
      This patch also defines an interface used to implement different
      versions of the protocol spoken by the server, but does not include
      any protocol implementaiton.
      b13d3e0d
  25. 16 Aug, 2016 1 commit
  26. 17 Jun, 2016 1 commit
    • Alex Turbov's avatar
      cmake: Add an option to control what files needs to be traced · e63151ff
      Alex Turbov authored
      Even in relatively small projects using `--trace` (and `--trace-expand`)
      may produce a lot of output.  When developing a custom module usually
      one is interested in output of only a few particular modules.
      
      Add a `--trace-source=<file>` option to enable tracing only a subset of
      source files.  The final output would be only from requested modules,
      ignoring anything else not matched to given filename(s).
      e63151ff
  27. 28 Apr, 2016 2 commits
  28. 09 Mar, 2016 1 commit
    • Brad King's avatar
      Drop Visual Studio 6 generator · b42866a3
      Brad King authored
      This generator has been deprecated since CMake 3.3.  Remove it.
      Update documentation, modules, and tests to drop content specific
      to this generator.
      b42866a3
  29. 05 Feb, 2016 1 commit
    • Sebastian Schuberth's avatar
      cmake: Teach --build to reject multiple --target options · 497cad7c
      Sebastian Schuberth authored
      Previously we did not clearly document that `--target` is only supported
      to be specified once.  Even worse, specifying it multiple times would
      silently ignore any previously specified targets and only build the last
      target.
      
      Update the documentation to specify this.  Update the implementation to
      reject multiple `--target` options to prevent user errors.
      497cad7c
  30. 20 Jan, 2016 1 commit
  31. 19 Jan, 2016 1 commit
  32. 12 Jan, 2016 1 commit
    • Michael Scott's avatar
      Add -Werror and -Wno-error command-line options · 28f2d750
      Michael Scott authored
      Expand the -W set of cmake options to include support for the -Werror
      and -Wno-error format, which is used to control upgrading and
      downgrading warning and error messages. Implement support for these new
      formats for the dev and deprecated message types.
      
      Add tests and updated documentation for new options.
      28f2d750
  33. 10 Dec, 2015 1 commit
  34. 07 Dec, 2015 1 commit
  35. 04 Dec, 2015 1 commit
  36. 01 Dec, 2015 2 commits
    • Michael Scott's avatar
      Explicitly enable deprecated warnings by default. · aac633d5
      Michael Scott authored
      Explicitly enable deprecated warnings by default, via the
      cmake::GetSuppressDeprecatedWarnings method, which signals
      suppression is turned off unless the CMake variables are set
      as required.
      
      Add tests and update the documentation for the new
      functionality.
      aac633d5
    • Michael Scott's avatar
      Modify dev warning options to affect deprecated warnings. · e8974b62
      Michael Scott authored
      Change the '-Wdev' and '-Wno-dev' options to also enable and
      suppress the deprecated warnings output, via the
      'CMAKE_WARN_DEPRECATED' CMake variable, by default. This
      action does not happen if the user specifies a deprecated
      warning message option.
      
      Add tests and update the documentation for the new
      functionality.
      e8974b62