summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | Eclipse: Add option to set the resource encodingMartin Gerhardy2019-07-091-0/+6
| | | |
* | | | Merge topic 'add_cmake_find_use_package_registry'Craig Scott2019-07-098-33/+108
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-097-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | 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-096-31/+61
| | | |
* | | | Merge topic 'threads-are-good'Brad King2019-07-081-0/+8
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 08cd7f6a02 Swift: support multithreaded compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3506
| * | | Swift: support multithreaded compilationSaleem Abdulrasool2019-07-021-0/+8
| | | | | | | | | | | | | | | | | | | | Query the number of logical CPUs available to enable parallel compilation for Swift.
* | | | Merge topic 'docs-misc-trivial-cleanups'Craig Scott2019-07-041-3/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | d5b722bbbd Help: Remove mention of CMAKE_INSTALL_DO_STRIP ddc7ea4696 Help: Clarify how to provide multiple targets with cmake --target c509f38b7b Help: Add missing xref for CMAKE_EXECUTE_PROCESS_COMMAND_ECHO 9cc6befe1b Help: Improve formatting of list(TRANSFORM) sub-options 074fbdb73f Help: Clean up trivial typos and grammar Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3498
| * | Help: Clean up trivial typos and grammarCraig Scott2019-07-031-3/+3
| | |
| * | Merge branch 'doc-project-include' into release-3.15Brad King2019-06-183-9/+19
| |\ \ | | | | | | | | | | | | Merge-request: !3453
* | | | CMAKE_CUDA_HOST_COMPILER: Document it takes priority over CUDAHOSTCXXRobert Maynard2019-06-271-1/+2
| |_|/ |/| |
* | | Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-215-0/+55
| | |
* | | Merge topic 'doc-project-include'Brad King2019-06-183-9/+19
|\ \ \ | |/ / |/| / | |/ | | | | | | 8a08d0c092 Help: Document what project() calls use CMAKE_PROJECT_INCLUDE and friends Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3453
| * Help: Document what project() calls use CMAKE_PROJECT_INCLUDE and friendsBrad King2019-06-173-9/+19
| | | | | | | | Fixes: #19340
* | Help: Document XLClang compiler idBrad King2019-06-061-0/+1
|/ | | | | | | | | This compiler id was added by commit 90c6156aa8 (XLClang: Add a new compiler ID for the clang-based XL compiler, 2019-02-05, cpp-modules-20190312.1~71^2~7). Add documentation accidentally left out of that commit. Issue: #18835
* Teach CROSSCOMPILING_EMULATOR to support argumentsMarek Antoniak2019-06-031-0/+4
| | | | Fixes: #19321
* Merge topic 'cmake_automoc_relaxed_mode_deprecation'Brad King2019-05-281-0/+2
|\ | | | | | | | | | | | | | | | | df6adb02c0 Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODE 5bf07b9cfc Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecated b5ad572ac1 Autogen: Deprecation message for CMAKE_AUTOMOC_RELAXED_MODE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3381
| * Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecatedSebastian Holtermann2019-05-271-0/+2
| |
* | Help: Fix typo for CTEST_CUSTOM_WARNING_xxx varsCraig Scott2019-05-262-2/+2
|/ | | | | These variables apply to the `ctest_build` command, not `ctest_test` Relates: #19217
* Help/CMAKE_JOB_POOL_LINK: match the header line with the variableBen Boeckel2019-05-241-1/+1
|
* Merge topic 'framework-var'Brad King2019-05-231-0/+7
|\ | | | | | | | | | | | | 26ea022c3b Add variable CMAKE_FRAMEWORK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3347
| * Add variable CMAKE_FRAMEWORKRuslan Baratov2019-05-211-0/+7
| |
* | Merge topic 'default-generator-env'Brad King2019-05-224-5/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d0f0ba0f7a Tests: Add environment generator tests a48ce8f4bf Help: Add documentation for default generator environment variables 083cf7e8a2 cmake: Allow default generator to be set by environment variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3218
| * | Help: Add documentation for default generator environment variablesEicke Herbertz2019-05-224-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation for environment variables that control the default generator selection: * CMAKE_GENERATOR * CMAKE_GENERATOR_INSTANCE * CMAKE_GENERATOR_PLATFORM * CMAKE_GENERATOR_TOOLSET
* | | find_package: Add option to prefer Config modeCristian Adam2019-05-212-0/+30
| |/ |/| | | | | | | | | | | | | 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/+8
| |
* | Merge topic 'armclang'Brad King2019-05-161-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 7b0abaac31 ARMClang: Add support for Clang-based ARM compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3315
| * | ARMClang: Add support for Clang-based ARM compilerJohan Stridkvist2019-05-141-0/+1
| | | | | | | | | | | | Fixes: #18215
* | | Merge topic 'msvc-jmc'Brad King2019-05-151-0/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 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/+8
| | |
* | | ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-071-0/+5
| | | | | | | | | | | | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
* | | Help: cross-ref and wording of docs related to ctest_update()Zack Galbreath2019-05-031-1/+1
|/ / | | | | | | Provide better motivation for users to click through to the CTest manual from the ctest_update command help page.
* | Merge topic 'add-execute_process-command-echo'Brad King2019-04-301-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 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/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-1/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 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-192-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-15/+10
| |\ \ | | | | | | | | | | | | Merge-request: !3066
| * \ \ Merge branch 'ios-docs' into release-3.14Brad King2019-03-051-0/+3
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3047