summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'remove-vs8-generator'Brad King2018-04-023-3/+3
|\ | | | | | | | | | | | | | | eb80af9093 Drop Visual Studio 8 2005 generator e7af91d026 Tests: Remove unused file from Tutorial Step7 test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1901
| * Drop Visual Studio 8 2005 generatorBrad King2018-04-023-3/+3
| | | | | | | | This generator has been deprecated since CMake 3.9. Remove it.
* | Add CMAKE_FOLDER variable to initialize FOLDER target propertyMarc B2018-03-291-0/+7
|/ | | | | | | | | | | | | | | | | 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}")
* Merge topic 'policy-version-range'Craig Scott2018-03-221-4/+2
|\ | | | | | | | | | | | | | | | | | | 45408b5ea1 cmake_minimum_required: Optionally set policies with version range 6a41aa2abd cmPolicies: Split parsing and impl of ApplyPolicyVersion 1d00ed7cf7 cmPolicies: Drop unnecessary check from ApplyPolicyVersion 0df559832b cmPolicies: Pass policy version as std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1864
| * cmake_minimum_required: Optionally set policies with version rangeBrad King2018-03-211-4/+2
| | | | | | | | | | | | | | | | Teach `cmake_minimum_required` and `cmake_policy(VERSION)` to support a version range of the form `<min>[...<max>]`. Define this to mean that version `<min>` is required, but known policies up to those introduced by `<max>` will be set to `NEW`. This will allow projects to easily specify a range of versions for which they have been updated.
* | project: Add HOMEPAGE_URL named parameterAlex Turbov2018-03-163-0/+49
| | | | | | | | | | | | | | | | | | 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>
* | project: Add <PROJECT-NAME>_DESCRIPTIONCraig Scott2018-03-161-0/+5
| | | | | | | | For consistency with the VERSION keyword, also define the <PROJECT-NAME>_DESCRIPTION variable.
* | Help: Fix minor typo in docs for CMAKE_PROJECT_DESCRIPTIONCraig Scott2018-03-161-1/+1
|/
* Help: Fix incorrect CMAKE_PROJECT_xxx docsCraig Scott2018-03-134-8/+69
| | | | | | | | | The docs for CMAKE_PROJECT_NAME and CMAKE_PROJECT_DESCRIPTION were erroneously documenting the behavior of PROJECT_NAME and PROJECT_DESCRIPTION respectively. Fix these and update the project() docs to also mention CMAKE_PROJECT_NAME and CMAKE_PROJECT_DESCRIPTION. Fixes: #17815
* Document and extend the CMAKE_SUPPRESS_REGENERATION variableShane Parris2018-02-231-0/+11
| | | | Fixes: https://gitlab.kitware.com/cmake/cmake/issues/16815
* Help: Fix command references in CMAKE_NETRC* variable documentationShane Parris2018-02-162-2/+2
|
* Help: Clarify MSVC and MSVC_VERSION variablesChristian Pfeiffer2018-02-012-3/+6
| | | | | The current documentation doesn't clarify that compilers simulating Visual C++ will also have these variables set.
* Merge topic 'doc-typo-CMAKE_INCLUDE_CURRENT_DIR'Brad King2018-01-301-1/+1
|\ | | | | | | | | | | | | 99e473ca Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1708
| * Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR docssilvioprog2018-01-291-1/+1
| |
* | Merge topic 'doc-typo-CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE'Brad King2018-01-301-1/+1
|\ \ | | | | | | | | | | | | | | | | | | fc57afde Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1709
| * | Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE docssilvioprog2018-01-291-1/+1
| |/
* | Help: add release notes, documentation for CTEST_RUN_CURRENT_SCRIPT behaviorKyle Edwards2018-01-261-0/+5
|/
* Generators: remove KDevelop3 generatorAlex Neundorf2018-01-241-1/+1
| | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* Merge topic 'heading_automoc_macro_names'Brad King2018-01-221-1/+1
|\ | | | | | | | | | | | | c89c87c9 Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1671
| * Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMESCraig Scott2018-01-181-1/+1
| |
* | Merge topic 'docs_cmake_crosscompiling'Brad King2018-01-221-4/+22
|\ \ | | | | | | | | | | | | | | | | | | 60febda4 Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1672
| * | Help: Explain meaning and limitations of CMAKE_CROSSCOMPILINGCraig Scott2018-01-181-4/+22
| |/ | | | | | | Fixes: #17653
* | Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removalCraig Scott2018-01-201-1/+1
|/
* Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLELSebastian Holtermann2018-01-171-0/+10
|
* Merge topic 'unhardcode-configuration-types'Brad King2018-01-1017-64/+47
|\ | | | | | | | | | | | | | | 1f4d7a07 Help: Add references and backticks in LINK_FLAGS prop_tgt 48f7e2d3 Unhardcode the CMAKE_CONFIGURATION_TYPES values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1345
| * Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-0817-64/+47
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'doc-CMAKE_SYSTEM_NAME-mode'Brad King2018-01-091-0/+3
|\ \ | |/ |/| | | | | | | | | edebf6f3 Help: note that CMAKE_SYSTEM_NAME is not set in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1639
| * Help: note that CMAKE_SYSTEM_NAME is not set in script modeKyle Edwards2018-01-081-0/+3
| | | | | | | | Fixes #17109.
* | Merge topic '17431-iphone-deployment-target'Brad King2018-01-082-5/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-222-5/+10
| |/ | | | | | | Closes: #17431
* | Various typo fixesLuz Paz2018-01-031-1/+1
|/ | | | Some are user-facing. Others are source comments.
* Merge topic 'cmake-job-pool'Brad King2017-12-041-0/+6
|\ | | | | | | | | | | | | 07185055 Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1514
| * Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLSMatt McCormick2017-11-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge topic 'CodeBlocks-custom-compiler-id'Brad King2017-11-291-0/+13
|\ \ | | | | | | | | | | | | | | | | | | e04f1d1b CodeBlocks: add option for the CB compiler ID Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1512
| * | CodeBlocks: add option for the CB compiler IDMelven Roehrig-Zoellner2017-11-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-211-1/+2
| |/ |/| | | | | | | | | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* | CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-171-0/+6
|/ | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
* CPack: enable setting default dir creation permissionsDomen Vrankar2017-11-081-0/+11
| | | | | | | | | | | 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
* CMake: enable setting default dir creation permissionsDomen Vrankar2017-11-081-0/+29
| | | | | | | | | 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.
* Fix trivial typos in textluzpaz2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* Xcode: Add option to generate only topmost project fileGregor Jasny2017-10-311-0/+9
| | | | Closes #16780
* VS: Select and save a VS 2017 instance persistentlyBrad King2017-10-191-1/+3
| | | | | | | | | | Visual Studio 2017 supports multiple instances installed on a single machine. We use the Visual Studio Installer tool to enumerate instances and select one. Once we select an instance for a given build tree, save the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree with the same instance on future re-runs of CMake. Fixes: #17268
* Add infrastructure for generators to select a build tool instanceBrad King2017-10-191-0/+22
| | | | | | | | | | | | | | Add cache entry `CMAKE_GENERATOR_INSTANCE` to hold the instance location persistently across re-runs of CMake in a given build tree. For now we reject the option by default if explicitly set. It will be implemented on a per-generator basis. Pass the setting into try_compile project generation. Add a RunCMake.GeneratorInstance test to cover basic use cases for the option. Verify that `CMAKE_GENERATOR_INSTANCE` is empty by default, and that it is rejected when the generator does not support a user setting. Issue: #17268
* Merge topic 'curl_netrc_options'Brad King2017-10-192-0/+18
|\ | | | | | | | | | | | | | | | | | | | | d45aa38a Add dev notes for topic 'curl_netrc_options' 60c272b6 ExternalProject: Add support for NETRC and NETRC_FILE suboption 754e39dd Add testcases for file(DOWNLOAD|UPLOAD) netrc options 5d67e902 file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboption Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !1376
| * file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboptionShane Parris2017-10-182-0/+18
| |
* | Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONSSebastian Holtermann2017-10-092-2/+20
|/
* Add infrastructure to detect secondary compiler version informationBrad King2017-10-031-0/+8
| | | | | | | | | | | Create a `CMAKE_<LANG>_COMPILER_VERSION_INTERNAL` variable to hold a secondary/internal compiler version number detected at the same time as the primary compiler version. This will be useful for some compilers where we need such a number to determine correct usage. Inspired-by: Stefan Andersson <tfosm@hotmail.com> Suggested-by: Norbert Lange <norbert.lange@andritz.com> Issue: #17264
* Autogen: Doc: Add documentation for (CMAKE_)AUTOMOC_COMPILER_PREDEFINESSebastian Holtermann2017-09-292-0/+16
| | | | | | Also adds the documentation for CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND. Closes #17275
* Merge topic 'autogen-macro-names2'Brad King2017-09-291-4/+5
|\ | | | | | | | | | | | | | | | | | | | | 93c8d55d Autogen: Update (CMAKE_)AUTOMOC_MACRO_NAMES release notes 084ace47 Autogen: Tests: Update AUTOMOC_MACRO_NAMES test 08041dd1 Autogen: Doc: Update documentation for (CMAKE_)AUTOMOC_MACRO_NAMES 7b33d67b Autogen: Create info file directory before writing 786b5be0 Autogen: Define all macro names in CMAKE_AUTOMOC_MACRO_NAMES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1321
| * Autogen: Doc: Update documentation for (CMAKE_)AUTOMOC_MACRO_NAMESSebastian Holtermann2017-09-281-4/+5
| |