1. 01 Apr, 2019 1 commit
  2. 27 Mar, 2019 1 commit
  3. 15 Mar, 2019 1 commit
    • Robert Maynard's avatar
      export: Disable PACKAGE mode user package registry by default · 9bede5c4
      Robert Maynard authored
      The user package registry populated by the `export()` command causes
      side effects outside the build and source directories.  Such effects
      should be opt-in rather than op-out.  Introduce a policy to change
      default behavior of `export(PACKAGE)` to do nothing.
  4. 06 Mar, 2019 1 commit
  5. 05 Mar, 2019 1 commit
    • Ruslan Baratov's avatar
      iOS: Add IOS variable · e427c7c1
      Ruslan Baratov authored
      Since commit 11da882a (Apple: Introduce separate system name for iOS,
      tvOS, and watchOS, 2018-01-15, v3.14.0-rc1~14^2~1) we support setting
      `CMAKE_SYSTEM_NAME` to `iOS`.  Existing iOS toolchain files already
      set `IOS` as a short-hand variable, so do the same here.
  6. 08 Feb, 2019 1 commit
  7. 30 Jan, 2019 4 commits
  8. 23 Jan, 2019 1 commit
    • Kyle Edwards's avatar
      cmMakefile: Impose maximum recursion limit · a6982cff
      Kyle Edwards authored
      In order to keep infinitely-recursive scripts from causing a stack
      overflow in the CMake executable, CMake now imposes a maximum
      recursion limit before issuing an error message. The limit can be
      adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH.
      Fixes: #18694
  9. 16 Jan, 2019 3 commits
    • Fred Baksik's avatar
      GHS: Use the correct compiler flags for CMAKE_BUILD_TYPE · 702121c5
      Fred Baksik authored
      -- Do not use CMAKE_C_FLAGS_RELEASE flags when CMAKE_BUILD_TYPE is empty
         if CMAKE_BUILD_TYPE was not set the generator would use Release settings
         this does not match the documented behavior of CMAKE_BUILD_TYPE
      -- CMAKE_C_FLAGS_<CONFIG> not used when -kernel is present
         Fixes issue where CMAKE_C_FLAGS_<CONFIG> is ignored when -kernel option is present as a compiler option
         When the -kernel option is added to an executable it uses a different set of language flags
         This does not occur -kernel=<type> is used or if it is added as part of a link flag
         The variables CMAKE_<LANG>_GHS_KERNEL_FLAGS_<CONFIG> are removed
         NOTE: By default this only added the flag -ldebug which links in the debugger library.
      -- Separate compiler options by newlines
    • wahikihiki's avatar
    • David Aguilar's avatar
      find_package: optionally resolve symlinks when discovering packages · a5e948a3
      David Aguilar authored
      Teach find_package() to resolve symlinks when constructing
      relocatable prefix paths from discovered cmake config files.
      The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables
      this behavior when set to `TRUE`.
      Fixes: #18704
  10. 02 Jan, 2019 1 commit
  11. 11 Nov, 2018 1 commit
  12. 08 Nov, 2018 2 commits
  13. 03 Nov, 2018 1 commit
  14. 26 Oct, 2018 1 commit
    • Peter Wu's avatar
      RPATH: Add option for using $ORIGIN in build tree · 6114d85a
      Peter Wu authored
      This makes binaries independent of the build directory by not embedding
      the build directory via RPATH.  The tests are partially based on the
      existing RuntimePath test, but with the check moved into a POST_BUILD
      command such that it can be skipped when the platform lacks support.
      Fixes: #18413
  15. 25 Sep, 2018 2 commits
  16. 17 Sep, 2018 1 commit
  17. 10 Sep, 2018 1 commit
  18. 30 Aug, 2018 1 commit
  19. 07 Aug, 2018 1 commit
  20. 01 Aug, 2018 1 commit
    • Gregor Jasny's avatar
      Xcode: Add variables and properties to configure schemes · 6b7f1e1d
      Gregor Jasny authored
      Add `XCODE_SCHEME_*` target properties and associated variables
      `CMAKE_XCODE_SCHEME_*` to initialize them on target creation.
      Map each target property value to an associated Xcode scheme entry.
      Co-Author: Martin Sander <mail@martin-sander.de>
      Fixes: #17919
  21. 20 Jul, 2018 1 commit
  22. 21 Jun, 2018 1 commit
  23. 06 Jun, 2018 1 commit
  24. 29 May, 2018 1 commit
  25. 15 May, 2018 1 commit
  26. 02 May, 2018 1 commit
    • Alex Turbov's avatar
      CPack: Use project version as default for `CPACK_PACKAGE_VERSION` · af1c4887
      Alex Turbov authored
      * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components:
      * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`,
        to initialize corresponsing CPack variables.
  27. 19 Apr, 2018 1 commit
  28. 04 Apr, 2018 1 commit
  29. 29 Mar, 2018 1 commit
    • Marc's avatar
      Add CMAKE_FOLDER variable to initialize FOLDER target property · df535ad8
      Marc authored
      This can be used for example to organize all following targets into one
      Visual Studio folder:
        set(CMAKE_FOLDER Libraries)
        set(CMAKE_FOLDER Executables)
      Another possibility is using the current directory name for all
      following targets in subdirectories:
        get_filename_component(dirname "${CMAKE_CURRENT_SOURCE_DIR}" NAME)
        string(APPEND CMAKE_FOLDER "/${dirname}")
  30. 16 Mar, 2018 2 commits
    • Alex Turbov's avatar
      project: Add HOMEPAGE_URL named parameter · 73f9b297
      Alex Turbov authored
      This sets variables like PROJECT_HOMEPAGE_URL, which can be
      used as default values for various things (packaging modules,
      doxygen defaults, etc.). Some packaging modules have been
      updated to do this as part of this commit.
      Co-Author: Craig Scott <craig.scott@crascit.com>
    • Craig Scott's avatar
      project: Add <PROJECT-NAME>_DESCRIPTION · fd28c382
      Craig Scott authored
      For consistency with the VERSION keyword, also define the
  31. 23 Feb, 2018 1 commit
  32. 26 Jan, 2018 1 commit