- 30 Jan, 2019 3 commits
-
-
Joachim Wuttke authored
-
Joachim Wuttke authored
-
Joachim Wuttke authored
-
- 23 Jan, 2019 1 commit
-
-
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
-
- 16 Jan, 2019 3 commits
-
-
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
-
-
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
-
- 02 Jan, 2019 1 commit
-
-
Ben Boeckel authored
In commit v3.4.0-rc1~57^2 (Help: document CTEST_CUSTOM_* variables, 2015-09-17), the CTEST_CUSTOM_TESTS_IGNORE variable was documented with a typo.
-
- 11 Nov, 2018 1 commit
-
-
Sebastian Holtermann authored
-
- 08 Nov, 2018 2 commits
-
-
This resolves issue #18514 Also add a cross-reference to if(DEFINED ENV{var}).
-
Joachim Wuttke authored
Short intro to pages cmake-variables.7 and cmake-env-variables.7, with backlinks to cmake-language.7.
-
- 03 Nov, 2018 1 commit
-
-
Sebastian Holtermann authored
-
- 26 Oct, 2018 1 commit
-
-
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
-
- 25 Sep, 2018 2 commits
-
-
-
Fixes: #18287
-
- 17 Sep, 2018 1 commit
-
-
Julien Schueller authored
Fixes: #18368
-
- 10 Sep, 2018 1 commit
-
-
Kyle Edwards authored
This useful variable was previously undocumented. This commit adds brief documentation for it.
-
- 30 Aug, 2018 1 commit
-
-
Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
-
- 07 Aug, 2018 1 commit
-
-
Also add a test case for the behavior.
-
- 01 Aug, 2018 1 commit
-
-
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
-
- 20 Jul, 2018 1 commit
-
-
Brad King authored
Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
-
- 21 Jun, 2018 1 commit
-
-
Sebastian Holtermann authored
-
- 06 Jun, 2018 1 commit
-
-
Marc Chevrier authored
-
- 29 May, 2018 1 commit
-
-
Add new `version=` parameter in the toolset setting to select the version. Add variable `CMAKE_VS_PLATFORM_TOOLSET_VERSION` to hold the version, if one is set (blank indicates default). Fixes: #17549
-
- 15 May, 2018 1 commit
-
-
Michael Stürmer authored
Fixes: #17955
-
- 02 May, 2018 1 commit
-
-
* Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
-
- 19 Apr, 2018 1 commit
-
-
Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
-
- 04 Apr, 2018 1 commit
-
-
Provide the MSVC toolset version number based on the compiler version. Fixes: #16923
-
- 29 Mar, 2018 1 commit
-
-
This can be used for example to organize all following targets into one Visual Studio folder: set(CMAKE_FOLDER Libraries) add_subdirectory(libA) add_subdirectory(libB) set(CMAKE_FOLDER Executables) add_subdirectory(progA) 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}")
-
- 16 Mar, 2018 2 commits
-
-
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 authored
For consistency with the VERSION keyword, also define the <PROJECT-NAME>_DESCRIPTION variable.
-
- 23 Feb, 2018 1 commit
-
-
Shane Parris authored
Fixes: cmake/cmake#16815
-
- 26 Jan, 2018 1 commit
-
-
Kyle Edwards authored
-
- 17 Jan, 2018 1 commit
-
-
Sebastian Holtermann authored
-
- 08 Jan, 2018 1 commit
-
-
Beren Minor authored
This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
-
- 29 Nov, 2017 1 commit
-
-
Matt McCormick authored
This enables configuration of build parallelism with the Ninja generator by passing arguments on the command line to CMake. For example, cmake \ '-DCMAKE_JOB_POOLS:STRING=compile=5;link=2' \ -DCMAKE_JOB_POOL_COMPILE:STRING=compile \ -DCMAKE_JOB_POOL_LINK:STRING=link \ ~/src/MyProject
-
- 27 Nov, 2017 1 commit
-
-
CodeBlocks uses his own compiler ID string which may differ from CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large number of different compiler configurations (with different IDs) This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID", so the user might adjust it when needed.
-
- 17 Nov, 2017 1 commit
-
-
Brad King authored
Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
-
- 08 Nov, 2017 2 commits
-
-
Domen Vrankar authored
Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which adds support for functionality introduced by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable. Fixes #17333 # Conflicts: # Help/release/dev/cmake-default-dir-install-permissions.rst
-
Domen Vrankar authored
Introduces CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which enables the user to specify the default permissions for directory creation. This setting is then used to auto set the permissions on directories which are implicitly created by install() and file(INSTALL) commands such as CMAKE_INSTALL_PREFIX directories.
-