summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'update_debug_target_properties'Brad King2018-10-151-7/+16
|\ | | | | | | | | | | | | 86921f0264 Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2480
| * Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK propertiesRobert Maynard2018-10-121-7/+16
| |
* | add_subdirectory: Run subdirectory install rules in correct orderKyle Edwards2018-10-101-0/+2
|/ | | | | | | | | Before this change, install rules created by add_subdirectory() would be executed after all of the top-level install rules, even if they were declared before the top-level rules. This change adds a new policy, CMP0082, which interleaves the add_subdirectory() install rules with the other install rules so they are run in the correct order.
* Help: Document CMAKE_OSX_* variables as cache entriesJames Turner2018-10-041-0/+2
| | | | | | | | | | The variables * CMAKE_OSX_ARCHITECTURES * CMAKE_OSX_DEPLOYMENT_TARGET * CMAKE_OSX_SYSROOT should be set as cache entries. Document this explicitly.
* Merge topic 'vs-global-props-for-all-targets'Brad King2018-09-281-0/+21
|\ | | | | | | | | | | | | | | 36489b85aa VS: Add test for CMAKE_VS_GLOBALS 22e670a306 VS: Add option to set VS_GLOBAL_* for all targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2345
| * VS: Add option to set VS_GLOBAL_* for all targetsMikhail Korolev2018-09-251-0/+21
| | | | | | | | Fixes: #18287
* | link_directories(): enhance capabilitiesMarc Chevrier2018-09-251-0/+9
|/
* Help: Document CMAKE_RULE_MESSAGES variableJulien Schueller2018-09-171-0/+8
| | | | Fixes: #18368
* Merge topic 'cmake_cpack_command-doc'Brad King2018-09-111-0/+8
|\ | | | | | | | | | | | | 5ff7149298 Help: Document existence of CMAKE_CPACK_COMMAND Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2367
| * Help: Document existence of CMAKE_CPACK_COMMANDKyle Edwards2018-09-101-0/+8
| | | | | | | | | | This useful variable was previously undocumented. This commit adds brief documentation for it.
* | Help: Replace occurrences of "Mac OS X" with "macOS"Bartosz Kosiorek2018-09-0513-16/+16
|/ | | | | | | | Apple's main Operating system changed their name from OS X to macOS: https://www.engadget.com/2016/06/13/os-x-is-now-macos/ Revise documentation accordingly.
* Merge topic 'vs-winrt-default'Brad King2018-08-311-0/+8
|\ | | | | | | | | | | | | e78a0c8e8a VS: Add option to tell generator that platfrom is WinRT by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2315
| * VS: Add option to tell generator that platfrom is WinRT by defaultMikhail Korolev2018-08-301-0/+8
| | | | | | | | | | | | Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
* | Merge topic 'android-ndk-r18'Brad King2018-08-301-1/+2
|\ \ | |/ |/| | | | | | | | | ca97d4cb5f Android: Add support for NDK r18 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2319
| * Android: Add support for NDK r18Brad King2018-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | NDK r18 drops GCC toolchains and some STL types. We need to choose a clang toolchain by default when no gcc toolchains are available. Switch the STL type default to `c++_static` when the old `gnustl_static` default is not available. Update the test suite to not run tests for STL types that do not exist. Also do not expect the gcc toolchain `cpp` tool to be available because r18 does not provide it. Also teach it to tolerate `gcc -dumpmachine` output like `arm--linux-android` that differs from the toolchain prefix. Fixes: #18301
* | Merge topic 'doc-clang-tidy-typo'Brad King2018-08-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 85432f4898 Help: Fix typo in clang-tidy example -checks option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2303
| * | Help: Fix typo in clang-tidy example -checks optionDavid Demelier2018-08-241-1/+1
| |/
* | Help: Document the $CACHE{} syntaxRobert Maynard2018-08-072-3/+21
| | | | | | | | Also add a test case for the behavior.
* | Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-0116-0/+210
| | | | | | | | | | | | | | | | | | 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
* | Merge topic 'doc-find_package-root'Craig Scott2018-07-201-0/+14
|\ \ | |/ | | | | | | | | | | 492ade276b Help: Add explicit <PackageName>_ROOT variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2225
| * Help: Add explicit <PackageName>_ROOT variable documentationBrad King2018-07-201-0/+14
| | | | | | | | | | | | 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.
* | GHS: Add toolset selection supportFred Baksik2018-07-112-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Use the specified toolset located within GHS_TOOLSET_ROOT -- Update how the latest toolset is determined; scan the location GHS_TOOLSET_ROOT and sort it No longer use registry settings looking for installations The registry values are assigned in installation order for Green Hills tools not version order -- Update to use gbuild.exe from the proper toolset -- Clarify that CMAKE_MAKE_PROGRAM should not be set by user. -- Detect some toolset changes when regenerating project files This could occur if GHS_TOOLSET_ROOT was changed by user after the initial project generation This could occur if CMAKE_MAKE_PROGRAM was changed at the command line -- Use placeholder values for CMAKE_<LANG>_COMPILER The MULTI build system only uses gbuild to build a project gbuild uses the project file to determine which set of compilers to use based on target platform and architecture because compiler detection is skipped, placeholder values are used so that CMake does not complain
* | GHS: Support ARM, PPC, 86 architecturesFred Baksik2018-07-072-2/+2
| | | | | | | | | | | | -- Update -A option to choose target architecture. -- Update commentary about which variables are used to control toolset and target settings -- Remove setting CMAKE_SYSTEM_PROCESSOR because the value is overwritten to be "" by subsequent CMAKE processing
* | Autogen: Add documentation for CMAKE_AUTOGEN_VERBOSESebastian Holtermann2018-06-211-0/+13
| |
* | LINK_OPTIONS: Add support of "LINKER:" prefixMarc Chevrier2018-06-062-0/+48
|/
* Fix misc. typosluz.paz2018-06-042-2/+2
| | | | Found via `codespell` and `grep`
* VS: Add option to select the version of the toolset used by VS 2017Basil Fierz2018-05-292-0/+16
| | | | | | | | 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
* added CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variableMichael Stürmer2018-05-151-0/+16
| | | | Fixes: #17955
* CPack: Use project version as default for `CPACK_PACKAGE_VERSION`Alex Turbov2018-05-025-0/+71
| | | | | | | | | | * 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.
* Help: Add example to CMAKE_<LANG>_CLANG_TIDYBrad King2018-04-241-2/+9
| | | | Fixes: #16869
* Merge topic 'grammar_typo_fixes'Brad King2018-04-231-1/+1
|\ | | | | | | | | | | | | 8e841a473f Cleanup: Fix typos and grammar in docs and code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1996
| * Cleanup: Fix typos and grammar in docs and codeCraig Scott2018-04-221-1/+1
| | | | | | No functional changes, just docs, comments and error messages.
* | Merge topic 'cmake-install-doc'Brad King2018-04-231-15/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | a4f71b4ba8 Help: Document existence of cmake_install.cmake fcf64866da Help: move DESTDIR into a separate page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1979
| * | Help: move DESTDIR into a separate pageKyle Edwards2018-04-201-15/+1
| |/
* | Help: Mention CMP0060 in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIESBrad King2018-04-201-6/+9
|/ | | | | Behavior described for this variable is actually dependent on the `CMP0060` policy setting. Update the documentation accordingly.
* Merge topic 'vs-sdk-dirs'Brad King2018-04-207-0/+29
|\ | | | | | | | | | | | | 6ec3e880e7 VS: Add variables to set SDK directories in vcxproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1965
| * VS: Add variables to set SDK directories in vcxproj filesBastien Schatt2018-04-197-0/+29
| | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | Help: Link from CMAKE_<LANG>_FLAGS to <LANG>FLAGS environment variablesBrad King2018-04-191-0/+11
|/
* MSVC: Add MSVC_TOOLSET_VERSION variableArkady Shapkin2018-04-042-1/+23
| | | | | | Provide the MSVC toolset version number based on the compiler version. Fixes: #16923
* 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
|