1. 12 Oct, 2016 1 commit
  2. 03 Oct, 2016 1 commit
  3. 26 Sep, 2016 2 commits
  4. 15 Sep, 2016 1 commit
    • Pierluigi Taddei's avatar
      find_package: Optionally sort globbed directories in a meaningful order · 31be918b
      Pierluigi Taddei authored and Brad King's avatar Brad King committed
      Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
      sort order and direction.
      
      When multiple package with the same name have been found in the same
      location sorting option can be used to force a specific version to be
      loaded (e.g. libA_1.12.0 instead of libA_1.1.0).  Currently sorting by
      NAME and by NATURAL order have been implemented.
      
      Natural ordering makes use of the `strverscmp(3)` ordering.
      31be918b
  5. 14 Sep, 2016 1 commit
  6. 31 Aug, 2016 1 commit
  7. 23 Aug, 2016 2 commits
  8. 14 Jul, 2016 1 commit
  9. 06 Jul, 2016 1 commit
    • Brad King's avatar
      Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files · a66004be
      Brad King authored
      Document these variables.
      
      Change our convention for setting these variables from:
      
          set(CMAKE_C_FLAGS_INIT "...")
      
      to
      
          string(APPEND CMAKE_C_FLAGS_INIT " ...")
      
      so that any value previously set by a toolchain file will be used.
      
      Automate the conversion with:
      
          sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \
            Modules/Compiler/*.cmake Modules/Platform/*.cmake
      
      and follow up with some manual fixes (e.g. to cases that already
      meant to append).  Also revert the automated changes to contexts
      that are not protected from running multiple times.
      a66004be
  10. 17 Jun, 2016 1 commit
  11. 25 May, 2016 2 commits
    • Brad King's avatar
      try_compile: Optionally forward custom platform variables to test project · d256ba07
      Brad King authored
      Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list
      of custom variables to be forwarded to a `try_compile` test project.
      This will be useful for platform information modules or toolchain files
      to forward some platform-specific set of variables from the host project
      (perhaps set in its cache) to the test project so that it can build the
      same way.
      d256ba07
    • Brad King's avatar
      Add a variable to specify language-wide system include directories · c1340827
      Brad King authored
      Create a `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable to specify
      system include directories for for `<LANG>` compiler command lines.
      This plays a role for include directories as the existing
      `CMAKE_<LANG>_STANDARD_LIBRARIES` variable does for link libraries.
      c1340827
  12. 24 May, 2016 1 commit
  13. 17 May, 2016 1 commit
  14. 18 Apr, 2016 1 commit
  15. 15 Apr, 2016 1 commit
  16. 13 Apr, 2016 1 commit
  17. 01 Apr, 2016 1 commit
    • Ben Boeckel's avatar
      cmCTestGIT: add an option to initialize submodules on update · 06b310b5
      Ben Boeckel authored and Brad King's avatar Brad King committed
      Currently, CTest will not initialize any submodules within the already
      checked out source tree. Add an option to do so. The use case for not
      doing so is that some submodules may not be necessary for the current
      test and keeping network usage down may be important.
      06b310b5
  18. 22 Mar, 2016 1 commit
  19. 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
  20. 19 Feb, 2016 1 commit
    • Brad King's avatar
      try_compile: Add option to control type of target · 7f1bd9fe
      Brad King authored
      Create a `CMAKE_TRY_COMPILE_TARGET_TYPE` option to specify use
      of `add_library(... STATIC ...)` for the generated test project.
      This will be useful for cross-compiling toolchains that cannot
      link a binary without custom flags or scripts.
      7f1bd9fe
  21. 15 Jan, 2016 1 commit
  22. 10 Dec, 2015 1 commit
    • Ruslan Baratov's avatar
      Xcode: Add support for combined install on iOS · 565d080a
      Ruslan Baratov authored and Gregor Jasny's avatar Gregor Jasny committed
      This patch solves the problem of installing both: Device and Simulator
      libraries on iOS. Before only one of them was installed.
      
      If the IOS_INSTALL_COMBINED property is set on a target, a
      special install hook will be activated which builds the corresponding
      target and combines both at the install location.
      
      The original patch was contributed by Ruslan Baratov, and polished by
      Gregor Jasny.
      565d080a
  23. 02 Oct, 2015 1 commit
    • Gilles Khouzam's avatar
      VS: Add support for selecting the Windows 10 SDK (#15670) · 3f077996
      Gilles Khouzam authored and Brad King's avatar Brad King committed
      Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion
      value.  Use the CMAKE_SYSTEM_VERSION to specify the version and if not
      set choose a default based on available SDKs.  Activate this behavior
      when targeting Windows 10.
      
      Co-Author: Brad King <brad.king@kitware.com>
      3f077996
  24. 22 Sep, 2015 1 commit
  25. 21 Sep, 2015 1 commit
  26. 18 Sep, 2015 1 commit
  27. 13 Aug, 2015 1 commit
  28. 17 Jul, 2015 1 commit
  29. 14 Jul, 2015 1 commit
    • Mikhail Filimonov's avatar
      VS: Add more Nsight Tegra generator Android property settings · 8c0afaf4
      Mikhail Filimonov authored and Brad King's avatar Brad King committed
      
      
      Extend the Nsight Tegra project generator to add bunch of properties
      with the backing variables to fine-tune the generated projects.
      
      Add target properties that map to all "Configuration" PropertyGroups for
      each configuration:
      
      * ANDROID_ARCH
      * ANDROID_STL_TYPE
      
      Add target properties that map to the AntBuild section of vcxproj files:
      
      * ANDROID_ANT_ADDITIONAL_OPTIONS
      * ANDROID_ASSETS_DIRECTORIES
      * ANDROID_JAR_DEPENDENCIES
      * ANDROID_JAR_DIRECTORIES
      * ANDROID_JAVA_SOURCE_DIR
      * ANDROID_NATIVE_LIB_DEPENDENCIES
      * ANDROID_NATIVE_LIB_DIRECTORIES
      * ANDROID_PROCESS_MAX
      * ANDROID_PROGUARD
      * ANDROID_PROGUARD_CONFIG_PATH
      * ANDROID_SECURE_PROPS_PATH
      * ANDROID_SKIP_ANT_STEP
      Reviewed-by: default avatarDmitry Polyanitsa <dpolyanitsa@nvidia.com>
      8c0afaf4
  30. 06 Jul, 2015 1 commit
  31. 30 Jun, 2015 1 commit
    • 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
  32. 15 Jun, 2015 1 commit
    • 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
  33. 08 Jun, 2015 3 commits
  34. 19 May, 2015 1 commit
  35. 06 May, 2015 1 commit