Skip to content
Snippets Groups Projects
  1. Jul 23, 2015
    • Ben Boeckel's avatar
      cmake: add --trace-expand option · 594bafe5
      Ben Boeckel authored
      The --trace option is helpful, but sometimes, what you're looking for is
      deep under many layers of function calls and figuring out what instance
      of the function call you're looking at is tedious to determine (usually
      involving patching and message()). Instead, add a --trace-expand option
      to trace while expanding commands into what CMake actually sees.
      594bafe5
  2. Jul 21, 2015
  3. Jul 18, 2015
  4. Jul 17, 2015
  5. Jul 14, 2015
  6. Jul 09, 2015
  7. Jul 07, 2015
  8. Jul 06, 2015
    • Brad King's avatar
      Add rudimentary support for the Apple Swift language with Xcode · bf112531
      Brad King authored
      Allow the `Swift` language to be enabled with the Xcode generator for
      Xcode >= 6.1.  Reject it on other generators and with older Xcode
      versions.  Since Apple is the only vendor implementing the language
      right now, the compiler id can be just `Apple`.
      bf112531
    • James Johnston's avatar
      ExternalProject: Added new USES_TERMINAL options · e4947639
      James Johnston authored and Brad King's avatar Brad King committed
      Added new USES_TERMINAL option to the ExternalProject_Add_Step
      function.  This option passes USES_TERMINAL to the underlying
      add_custom_command call so that the Ninja console pool is used.
      Also, corresponding new USES_TERMINAL_<step> options were added
      to the ExternalProject_Add function.
      
      Justification: if using Ninja with a CMake superbuild, it's often
      desirable to limit the superbuild to ONE sub-Ninja process at a
      time to avoid oversubscribing the CPU.  Using the console pool also
      makes it easy to monitor the progress of the sub-Ninja process.
      
      Independent USES_TERMINAL_<step> arguments are passed to
      ExternalProject_Add instead of one USES_TERMINAL argument that
      controls everything.  Users may wish to run some steps in parallel
      but not others (e.g. parallelize configure but not build).
      e4947639
    • Bill Hoffman's avatar
      Windows: Optionally generate DLL module definition files automatically · 8f86407c
      Bill Hoffman authored and Brad King's avatar Brad King committed
      Create target property WINDOWS_EXPORT_ALL_SYMBOLS to automatically
      generate a module definition file from MS-compatible .obj files and give
      it to the linker in order to export all symbols from the .dll part of a
      SHARED library.
      8f86407c
  9. Jun 30, 2015
    • Betsy McPhail's avatar
      ctest: Optionally avoid starting tests that may exceed a given CPU load · f62d301b
      Betsy McPhail authored and Brad King's avatar Brad King committed
      Add a TestLoad setting to CTest that can be set via a new --test-load
      command-line option, CTEST_TEST_LOAD variable, or TEST_LOAD option to
      the ctest_test command.  Teach cmCTestMultiProcessHandler to measure
      the CPU load and avoid starting tests that may take more than the
      spare load currently available.  The expression
      
       <current_load> + <test_processors> <= <max-load>
      
      must be true to start a new test.
      
      Co-Author: Zack Galbreath <zack.galbreath@kitware.com>
      f62d301b
  10. Jun 25, 2015
  11. Jun 24, 2015
  12. Jun 22, 2015
  13. Jun 18, 2015
  14. Jun 15, 2015
    • Bill Hoffman's avatar
      Add options to launch the compiler through tools like ccache or distcc · 698f7597
      Bill Hoffman authored and Brad King's avatar Brad King committed
      Create a <LANG>_COMPILER_LAUNCHER target property (initialized by a
      CMAKE_<LANG>_COMPILER_LAUNCHER variable) to specify a compiler launcher
      tool.  This will supersede the CMAKE_<LANG>_COMPILER_ARG1 approach to
      using such tools.  The old approach set CMAKE_<LANG>_COMPILER to the
      launcher tool while the new approach leaves this variable set to the
      actual compiler.
      
      Implement this property for Makefile and Ninja generators.  It cannot be
      implemented for VS or Xcode generators as the IDE build tools offer no
      such hooks.
      698f7597
  15. Jun 11, 2015
  16. Jun 09, 2015
  17. Jun 08, 2015
  18. Jun 03, 2015
    • Stephen Kelly's avatar
      Remove CMAKE_USE_RELATIVE_PATHS variable. · 1335992c
      Stephen Kelly authored and Brad King's avatar Brad King committed
      The test for this variable was removed in commit v2.8.8~330^2~7 (complex:
      Remove ancient unused ComplexRelativePaths test, 2011-12-23).
      
      Commit v3.1.0-rc1~425^2~2 (backtrace: Convert to local paths in
      IssueMessage, 2014-03-12) appears to have accidentally made some backtraces
      print relative paths with the variable because conversions which used to be
      done at configure time, before the variable had an effect are now potentially
      done at generate time.
      
      The documentation of the variable says not to use it, and the docs are wrong in
      that the variable actually applies in per-directory scope.
      
      The read of the variable makes it harder to split conversion methods from
      cmLocalGenerator where they don't belong.  Remove it now.
      1335992c
  19. Jun 02, 2015
Loading