Skip to content
Snippets Groups Projects
  1. Aug 13, 2015
  2. Aug 12, 2015
  3. Aug 04, 2015
  4. Aug 03, 2015
    • Brad King's avatar
      Help: Refine RULE_LAUNCH_{COMPILE,CUSTOM,LINK} global property docs · d951f542
      Brad King authored
      Link to the generators that implement these properties.  Explain in
      more detail why other generators ignore them.
      d951f542
    • Matt McCormick's avatar
      if: Add "TEST <test>" condition · 14e49ed1
      Matt McCormick authored and Brad King's avatar Brad King committed
      if(TEST TestNameThatExists) will return true if a test with the name
      TestNameThatExists has been added with add_test.  The syntax is similar
      to if(TARGET TargetName).  Since use of "TEST" as an argument to if()
      could previously be interpreted as a non-keyword argument, add policy
      CMP0064 to treat it as a keyword as NEW behavior.
      14e49ed1
  5. Jul 30, 2015
  6. Jul 29, 2015
    • Michael Scott's avatar
      cmake: Add -W options to control deprecation warnings and errors · c96fe0b4
      Michael Scott authored and Brad King's avatar Brad King committed
      Refactor the -Wdev and -Wno-dev to use a generic -W parser that follows
      the GCC pattern.  Include support for setting CMAKE_ERROR_DEPRECATED and
      CMAKE_WARN_DEPRECATED via the deprecated warning.  Add -Werror=dev and
      -Wno-error=dev options so that dev warning options are in line with
      deprecated warning options.  Use a new CMAKE_SUPPRESS_DEVELOPER_ERRORS
      internal cache entry to store the above new dev options persistently.
      Add tests for new options and updated cmake documentation and release
      notes to list new options.
      c96fe0b4
  7. 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
  8. Jul 21, 2015
  9. Jul 18, 2015
  10. Jul 17, 2015
  11. Jul 14, 2015
  12. Jul 09, 2015
  13. Jul 07, 2015
  14. 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
  15. 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
  16. Jun 25, 2015
  17. Jun 24, 2015
  18. Jun 22, 2015
  19. Jun 18, 2015
  20. 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
  21. Jun 11, 2015
  22. Jun 09, 2015
  23. Jun 08, 2015
Loading