summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'docs-INSTALL_REMOVE_ENVIRONMENT_PATH'Brad King2019-11-051-5/+5
|\ | | | | | | | | | | | | | | dd05ef429a Help: Fix inaccuracies in INSTALL_REMOVE_ENVIRONMENT_RPATH docs ac8de0dbcf RPATH: Remove stray indent in generated file(RPATH_CHANGE) command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3985
| * Help: Fix inaccuracies in INSTALL_REMOVE_ENVIRONMENT_RPATH docsCraig Scott2019-11-041-5/+5
| | | | | | | | | | | | | | | | The previous docs assumed one had to set INSTALL_RPATH for this target property to have an effect, but the actual condition is only that the install rpath is different to the build rpath. Even if the install rpath is empty, it is possible that CMake will rewrite the rpath during install because the build rpath could be non-empty.
* | Merge topic 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY'Craig Scott2019-11-058-3/+51
|\ \ | | | | | | | | | | | | | | | | | | 55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3968
| * | find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRYRobert Maynard2019-11-048-3/+51
| |/ | | | | | | | | | | | | | | 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
* | Merge topic 'docs-find-vars'Brad King2019-10-297-44/+67
|\ \ | |/ | | | | | | | | | | | | a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3952
| * Help: Fix markup errors, improve wording of CMAKE_FIND... variable docsCraig Scott2019-10-277-44/+67
| |
| * Merge branch 'doc-static-lib-flags' into release-3.16Brad King2019-10-152-5/+17
| |\ | | | | | | | | | Merge-request: !3919
* | \ Merge topic 'xcode-scheme-env'Brad King2019-10-251-0/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3933
| * | | Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variableFelix Heidrich2019-10-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the `XCODE_SCHEME_ENVIRONMENT` target property. This was left out of commit 6b7f1e1db0 (Xcode: Add variables and properties to configure schemes, 2018-07-29, v3.13.0-rc1~243^2).
* | | | Merge topic 'project-include-before'Brad King2019-10-214-3/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7acc1266c project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3936
| * | | | project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFOREDeniz Bahadir2019-10-184-3/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 0761186949 (project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a project-specific variant. This variable will be used similar to the already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and `CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables. Fixes: #19854
* | | | Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same nameDaan De Meyer2019-10-181-0/+3
| | | | | | | | | | | | | | | | Fixes: #18386
* | | | VS: Add support to override VCTargetsPath through toolsetAlexander Boczar2019-10-151-0/+5
|/ / / | | | | | | | | | Fixes: #19708
* | | Merge topic 'doc-static-lib-flags'Brad King2019-10-152-5/+17
|\ \ \ | | |/ | |/| | | | | | | | | | | | | fb16e0e7c0 Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3919
| * | Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGSBrad King2019-10-152-5/+17
| | | | | | | | | | | | Issue: #19838
* | | Merge topic 'feature/CMAKE_MESSAGE_CONTEXT'Craig Scott2019-10-133-0/+92
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | 7cf79f4419 message: Support logging a context with each message 5bf85e2517 message: Add new CMAKE_MESSAGE_LOG_LEVEL variable aa59badd6f Tests: Message log level tests must fail on unwanted output 7c579f0a03 Help: Move CMAKE_MESSAGE_INDENT variable to correct section 4b021bd3e9 message: Minor refactor to make code less verbose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3680
| * | message: Support logging a context with each messageAlex Turbov2019-10-122-0/+77
| | |
| * | message: Add new CMAKE_MESSAGE_LOG_LEVEL variableAlex Turbov2019-10-121-0/+15
| |/
* | Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitationBrad King2019-10-112-0/+8
| | | | | | | | | | | | | | These two options currently do not work well together. Mention this limitation in the documentation. Issue: #19826
* | Help: Extend documentation of CMAKE_UNITY_BUILD variableBrad King2019-10-111-3/+5
|/
* xcode: Add XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING propertyGregor Jasny2019-10-011-0/+13
|
* Merge topic 'doc-vs-2019-toolset'Brad King2019-09-201-0/+1
|\ | | | | | | | | | | | | 67f3dda69b Help: Document VS 2019 toolset in MSVC_TOOLSET_VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3841
| * Help: Document VS 2019 toolset in MSVC_TOOLSET_VERSIONLE GARREC Vincent2019-09-201-0/+1
| |
| * Merge branch 'msvc-runtime-library-doc' into release-3.15Brad King2019-07-191-0/+5
| |\ | | | | | | | | | Merge-request: !3573
| * | Swift: support multithreaded compilationSaleem Abdulrasool2019-07-181-0/+8
| | | | | | | | | | | | | | | Query the number of logical CPUs available to enable parallel compilation for Swift.
* | | Help: Add documentation for AUTOMOC_PATH_PREFIXSebastian Holtermann2019-09-181-0/+11
| | |
* | | Merge topic 'unity-build'Brad King2019-09-052-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-0/+12
| | | |
* | | | Merge topic 'vs-cuda-custom-dir'Brad King2019-09-033-6/+27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-303-6/+27
| | | |
* | | | Merge topic 'per-lang-link-library-flag'Brad King2019-08-292-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-0/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+6
|/ / /
* | | Merge topic 'per-language-link-library-flag'Kyle Edwards2019-08-131-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge topic 'support_CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS'Kyle Edwards2019-08-131-0/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 8f1d22c2d9 CUDA: Support CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS global variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3636
| * | | CUDA: Support CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS global variableRobert Maynard2019-08-061-0/+6
| | | |
* | | | Help: Fix spelling typo in `CMAKE_MESSAGE_INDENT` docsAlex Turbov2019-08-061-1/+1
| | | |
* | | | Help: Fix example output in the `CMAKE_MESSAGE_INDENT` documentationAlex Turbov2019-08-051-0/+2
| | | |
* | | | Android: Use unified toolchain in NDK r19+Brad King2019-07-261-1/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NDK build system now uses only a single toolchain in <ndk>/toolchains/llvm/prebuilt/<host> Its compilers are always `bin/{clang,clang++}` and its binutils are always `bin/<triple>-*`. It is a standalone toolchain: * The Anrdoid API level is specified at the end of `--target=`. * The standard library may be specified via `-stdlib=`. * No need to pass system includes or libraries explicitly. * No need to pass `--sysroot` or `-gcc-toolchain`. Teach CMake to recognize NDK versions that have a unified toolchain with its own sysroot and use the above approach. Fixes: #18739
* | | Help: Add documentation for INSTALL_REMOVE_ENVIROMENT_RPATHJiang Yue2019-07-251-0/+9
| | |
* | | FindPackage: Support `NO_[]_PATH` global call optionsRobert Maynard2019-07-225-5/+5
| | |
* | | Merge topic 'cpack-install-scripts'Craig Scott2019-07-221-8/+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-8/+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>
* | | | Merge topic 'feature/message-indent'Craig Scott2019-07-221-0/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f6fd917a3 message(): Control indentation via CMAKE_MESSAGE_INDENT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3464
| * | | | message(): Control indentation via CMAKE_MESSAGE_INDENTAlex Turbov2019-07-211-0/+30
| | | | |
* | | | | Merge topic 'msvc-runtime-library-doc'Brad King2019-07-191-0/+5
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | 282d9f3168 MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3573
| * | | MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not setBrad King2019-07-191-0/+5
| | |/ | |/| | | | | | | | | | By default `CMAKE_MSVC_RUNTIME_LIBRARY` is not set. Document the default runtime library selection in that case. We already test it.
* | | Help: Simplify CMAKE_ENABLE_EXPORTS documentationBrad King2019-07-161-18/+4
| | | | | | | | | | | | | | | | | | | | | In real projects the variable form should rarely be used because the decision to export symbols from an executable is very specific. Remove its main description, which duplicates the `ENABLE_EXPORTS` target property, and simply reference the property instead.
* | | Merge topic 'eclipse-resource-encoding'Brad King2019-07-111-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 09c1991895 Eclipse: Add option to set the resource encoding Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3525