summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-variables.7.rst
Commit message (Collapse)AuthorAgeFilesLines
* find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRYRobert Maynard2019-11-041-0/+1
| | | | | | | | Extend the change from commit 1d00ba9ccf (Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1) to cover the system package registry too. Fixes: #19890
* xcode: Add XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING propertyGregor Jasny2019-10-011-0/+1
|
* Help: Add documentation for AUTOMOC_PATH_PREFIXSebastian Holtermann2019-09-181-0/+1
|
* Merge topic 'unity-build'Brad King2019-09-051-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 7786a05c70 Unity build: Add XCode support 1353802af3 Unity build: Add unit tests 8dfeb5d278 Unity build: Add support for Visual Studio generator 7114c141e2 Unity build: Add support for Ninja and Makefile generators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Merge-request: !3611
| * Unity build: Add support for Ninja and Makefile generatorsCristian Adam2019-08-291-0/+2
| |
* | Merge topic 'vs-cuda-custom-dir'Brad King2019-09-031-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 25f29b9741 cuda: Adapted tests to work with modified cuda toolset ee86770a3f cuda: Added docs for extended cuda toolset 0ad180d712 cuda: Extend cuda compiler detection to work with custom cuda path 55b0532128 cuda: Extend vs10 target generator to use custom cuda path df0247a371 cuda: Extend toolset argument to accept path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3713
| * cuda: Added docs for extended cuda toolsetBenjamin Wozniak2019-08-301-0/+1
| |
* | Merge topic 'per-lang-link-library-flag'Brad King2019-08-291-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 79b2824251 Add per-lang variants of CMAKE_LINK_LIBRARY_{FILE_FLAG,SUFFIX} Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3747
| * | Add per-lang variants of CMAKE_LINK_LIBRARY_{FILE_FLAG,SUFFIX}Alan W. Irwin2019-08-271-0/+2
| |/ | | | | | | | | | | | | | | | | | | Extend the change from commit 689be6235e (Generator: support per-language link library flag, 2019-08-08) to cover more link library command-line flag components. Allow compilers for different languages to use different values for these linking-related variables within the same build. Closes: #19631
* | Precompile headers: Update documentationCristian Adam2019-08-281-0/+1
|/
* Merge topic 'per-language-link-library-flag'Kyle Edwards2019-08-131-0/+1
|\ | | | | | | | | | | | | 689be6235e Generator: support per-language link library flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3668
| * Generator: support per-language link library flagSaleem Abdulrasool2019-08-091-0/+1
| | | | | | | | | | | | | | | | This enables the use of MSVC and Swift on Windows in a single project. MSVC uses no flag to indicate linked libraries while Swift uses `-l`. Add support for a language specific link library flag which takes precedence over the global `CMAKE_LINK_LIBRARY_FLAG` which preserves compatibility with earlier releases.
* | CUDA: Support CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS global variableRobert Maynard2019-08-061-0/+1
|/
* Help: Add documentation for INSTALL_REMOVE_ENVIROMENT_RPATHJiang Yue2019-07-251-0/+1
|
* Merge topic 'cpack-install-scripts'Craig Scott2019-07-221-1/+0
|\ | | | | | | | | | | | | 5f96601675 CPack: Introduce CPACK_INSTALL_SCRIPTS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3531
| * CPack: Introduce CPACK_INSTALL_SCRIPTS variableAlex Turbov2019-07-211-1/+0
| | | | | | | | | | | | | | | | | | | | The singular name `CPACK_INSTALL_SCRIPT` has existed but was not linked from the CPack documentation. Also, it supported multiple values and should have had a plural name. Add a plural-named alternative now. If both `CPACK_INSTALL_SCRIPTS` and `CPACK_INSTALL_SCRIPT` are set then ignore the latter with a warning. Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
* | message(): Control indentation via CMAKE_MESSAGE_INDENTAlex Turbov2019-07-211-0/+1
| |
* | Merge topic 'eclipse-resource-encoding'Brad King2019-07-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 09c1991895 Eclipse: Add option to set the resource encoding Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3525
| * | Eclipse: Add option to set the resource encodingMartin Gerhardy2019-07-091-0/+1
| | |
* | | Merge topic 'add_cmake_find_use_package_registry'Craig Scott2019-07-091-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 447a96f590 vim: Update cmake.vim to include the CMAKE_FIND_USE variables 1d00ba9ccf Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY 704e3a2ca8 Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3487
| * | Find: find_package prefers variable CMAKE_FIND_USE_REGISTRYRobert Maynard2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | CMake's find control flags should all have a consistent name. To make this happen we are introducing `CMAKE_FIND_USE_REGISTRY` and deprecating `CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY`.
| * | Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docsRobert Maynard2019-07-091-1/+1
| |/
* | Swift: support multithreaded compilationSaleem Abdulrasool2019-07-021-0/+1
|/ | | | | Query the number of logical CPUs available to enable parallel compilation for Swift.
* Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-211-0/+5
|
* Merge topic 'framework-var'Brad King2019-05-231-0/+1
|\ | | | | | | | | | | | | 26ea022c3b Add variable CMAKE_FRAMEWORK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3347
| * Add variable CMAKE_FRAMEWORKRuslan Baratov2019-05-211-0/+1
| |
* | find_package: Add option to prefer Config modeCristian Adam2019-05-211-0/+1
|/ | | | | | | | Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell `find_package` calls to look for a package configuration file first even if a find module is available. Fixes: #16805, #19236
* Help: add some initial documentation for Swift supportSaleem Abdulrasool2019-05-161-0/+1
|
* Merge topic 'msvc-jmc'Brad King2019-05-151-0/+1
|\ | | | | | | | | | | | | 2a9ff9703e MSVC: Add support for /JMC (Just My Code) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3121
| * MSVC: Add support for /JMC (Just My Code)Luca Cappa2019-05-141-0/+1
| |
* | ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-071-0/+1
|/ | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
* Merge topic 'add-execute_process-command-echo'Brad King2019-04-301-0/+1
|\ | | | | | | | | | | | | | | 044dcf9f8d execute_process: Add option to echo command lines d350fb6889 execute_process: Manage KWSys Process lifetime with unique_ptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3165
| * execute_process: Add option to echo command linesBill Hoffman2019-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | Add COMMAND_ECHO option to the execute_process command. This will allow execute_process to show the command it will run. Also add a cmake variable CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can be set to one of the following: STDERR|STDOUT|NONE. The command will be printed to stderr or stdout or not at all. Fixes: #18933
* | Merge topic 'vs-default-platform'Brad King2019-04-221-0/+1
|\ \ | | | | | | | | | | | | | | | | | | db02be85a0 VS: Provide the default platform name to project code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3246
| * | VS: Provide the default platform name to project codeBrad King2019-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio generators based on `CMAKE_GENERATOR_PLATFORM` or some default. Prior to the VS 2019 generator, the default was always `Win32`. However, for the `Visual Studio 16 2019` generator, the default is based on the host platform. Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for use by project code. This is particularly useful in toolchain files because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so `CMAKE_VS_PLATFORM_NAME` is not yet known. Of course the toolchain file author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that will be used. Fixes: #19177
| * | Merge branch 'docs-xcode-schemes' into release-3.14Brad King2019-03-061-8/+8
| |\ \ | | | | | | | | | | | | Merge-request: !3066
* | | | MSVC: Add abstraction for runtime library selectionBrad King2019-04-171-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108
* | | Help: Improve formatting of Help documentationBartosz Kosiorek2019-04-081-1/+1
| | |
* | | project: Add variable CMAKE_PROJECT_INCLUDE_BEFORERuslan Baratov2019-04-011-0/+1
| | |
* | | project: Add variable CMAKE_PROJECT_INCLUDERuslan Baratov2019-03-271-0/+1
| | |
* | | Merge topic 'export-package-default-off'Brad King2019-03-151-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge topic 'docs-xcode-schemes'Brad King2019-03-061-8/+8
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | d0cb912a28 Help: Remove note that Xcode scheme generator is experimental de850fe385 Help: Trivial typo fix for CMAKE_XCODE_GENERATE_SCHEME d61a5a20ef Help: Sort lists of (CMAKE_)XCODE_SCHEME_... variables and properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3066
| * | Help: Sort lists of (CMAKE_)XCODE_SCHEME_... variables and propertiesCraig Scott2019-03-061-8/+8
| |/
* | iOS: Add IOS variableRuslan Baratov2019-03-051-0/+1
|/ | | | | | | Since commit 11da882a12 (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.
* GHS: Document usage of GHS_NO_SOURCE_GROUP_FILEFred Baksik2019-02-081-0/+1
| | | | -- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE
* Merge topic 'variables1'Brad King2019-01-311-8/+20
|\ | | | | | | | | | | | | | | | | 9d20fe014f Help: moved 7 variables to "internal" section dfb2d6178e Help: "internal variables" instead of "obsolete", with some explanatory prose 9c4cdc43f6 Help: declare CMAKE_HOME_DIRECTORY obsolete Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2881
| * Help: moved 7 variables to "internal" sectionJoachim Wuttke (o)2019-01-301-7/+7
| |
| * Help: "internal variables" instead of "obsolete", with some explanatory proseJoachim Wuttke (o)2019-01-301-1/+6
| |
| * Help: declare CMAKE_HOME_DIRECTORY obsoleteJoachim Wuttke (o)2019-01-301-1/+8
| |