summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-sdk-dirs'Brad King2018-04-209-0/+51
|\ | | | | | | | | | | | | 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-199-0/+51
| | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | Merge topic 'doc-drop-faq'Brad King2018-04-201-7/+3
|\ \ | | | | | | | | | | | | | | | | | | 0055d50667 Help: Drop direct link to Wiki/FAQ page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1986
| * | Help: Drop direct link to Wiki/FAQ pageBrad King2018-04-191-7/+3
| | | | | | | | | | | | | | | Instead mention that community resources are available on the general documentation landing page.
* | | Help: Link from CMAKE_<LANG>_FLAGS to <LANG>FLAGS environment variablesBrad King2018-04-191-0/+11
|/ /
* | Merge topic 'FindJPEG-imported-targets'Brad King2018-04-191-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87f2cf3b1c FindJPEG: Add imported target support and full test 13952a3b7f FindJPEG: Add multi config support and associated docs 1f6649b7d1 FindJPEG: Add version detection and associated test update and docs 8d07408a62 FindJPEG: Cleanup documentation formatting e70da3f0f3 FindJPEG: Clean up whitepaces and lowercase function names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1974
| * | FindJPEG: Add imported target support and full testMateusz Loskot2018-04-181-0/+4
| | |
* | | Merge topic 'CheckIncludeFile-required-libs'Brad King2018-04-193-0/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a61ae3fb80 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES 391a5837ee cmake_policy: Add undocumented PARENT_SCOPE option to GET 3c47ac5b25 OpenWatcom: Add workaround for lack of error on missing library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1978
| * | | CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIESBrad King2018-04-183-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other check modules honor this variable, so include file checks should too. Add policy `CMP0075` to enable the behavior in a compatible way. This change was originally made by commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES, 2017-12-24) but it was reverted by commit v3.11.1~9^2 (Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES", 2018-04-04) because the behavior change could affect checks in existing projects in an incompatible way. Fixes: #9514
* | | | Help: Fix command-line synopsis markup syntaxBrad King2018-04-184-5/+5
| |/ / |/| | | | | | | | | | | | | | Use `{}` to surround required parts instead of `()`. Fixes: #17917
* | | typo: incerment -> incrementRolf Eike Beer2018-04-171-1/+1
|/ /
* | list: Add TRANSFORM sub-commandMarc Chevrier2018-04-162-0/+78
|/ | | | Issue: #17823
* Merge topic 'add_support_for_clr_targets'Brad King2018-04-124-0/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | 312527de47 document COMMON_LANGUAGE_RUNTIME target properties 4b7a82b4ed cmVisualStudio10TargetGenerator: set /clr compiler flag from property 20e31fb4c9 cmExportFileGenerator: add target property for managed targets 411a22706a cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary() fb433ff283 cmGeneratorTarget: Make import library checks config-aware 4c1f33961f cmGeneratorTarget: add GetManagedType() and CheckManagedType() methods 6c517a9f8d cmGeneratorTarget: add HasLanguage() as wrapper for GetLanguages() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1916
| * document COMMON_LANGUAGE_RUNTIME target propertiesMichael Stürmer2018-04-094-0/+37
| |
* | Help: Fix install(EXPORT_ANDROID_MK) mode documentationBrad King2018-04-091-4/+5
| | | | | | | | | | | | | | | | | | | | `install(EXPORT_ANDROID_MK)` is its own mode, not an option to the normal `install(EXPORT)` mode. While at it, also fix the prose in our documented example to match the code. Fixes: #17891
* | Merge topic 'glob_configure_depends'Brad King2018-04-062-2/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c4f8b4596 Adjust help documentation for file(GLOB), add topic notes 20612978c8 Add tests for `file(GLOB)` CONFIGURE_DEPENDS flag 3f4b81f540 Add glob verify support to XCode, VS, Ninja, and Makefile generators ca0befc2e1 Add `CONFIGURE_DEPENDS` flag support to cmFileCommand::HandleGlobCommand 599c93e22d Add cmGlobVerificationManager class, integrate with cmake and cmState Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1767
| * | Adjust help documentation for file(GLOB), add topic notesShane Parris2018-04-022-2/+17
| | |
* | | Merge topic 'msvc-toolset-version-variable'Brad King2018-04-054-1/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45bf6f6246 Modules: Use MSVC_TOOLSET_VERSION variable to simplify logic 304f493e57 MSVC: Add MSVC_TOOLSET_VERSION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1882
| * | | MSVC: Add MSVC_TOOLSET_VERSION variableArkady Shapkin2018-04-044-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | Provide the MSVC toolset version number based on the compiler version. Fixes: #16923
* | | | Merge topic 'revert-CheckIncludeFile-required-libs'Brad King2018-04-051-9/+16
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 35109e718b Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1931
| * | | Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES"Brad King2018-04-041-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES, 2017-12-24). The behavior change can affect checks in existing projects that don't expect the behavior. Introducing the behavior again will require a policy. Fixes: #17874 Issue: #9514
* | | | Merge topic 'wcdh-bare-features'Brad King2018-04-041-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f38d050231 WCDH: introduce BARE_FEATURES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1869
| * | | | WCDH: introduce BARE_FEATURESRolf Eike Beer2018-04-031-0/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | This allows defining compat versions of some C/C++ features with the name of the keyword itself, so all code can look as if it was written for the new language standard.
* | | | UseSWIG: Add new behavior for better support files managementMarc Chevrier2018-04-031-0/+6
|/ / / | | | | | | | | | fixes: #17840
* | | Merge topic 'remove-vs8-generator'Brad King2018-04-029-28/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-029-28/+15
| | |/ | |/| | | | | | | This generator has been deprecated since CMake 3.9. Remove it.
* | | Merge topic 'variable-CMAKE_FOLDER'Brad King2018-04-024-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | df535ad846 Add CMAKE_FOLDER variable to initialize FOLDER target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1896
| * | | Add CMAKE_FOLDER variable to initialize FOLDER target propertyMarc B2018-03-294-0/+16
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'features-c++20'Brad King2018-04-024-6/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8570dc7f64 Help: Update compiler versions in cmake-compile-features.7.rst 874d3d2948 Help: Add release note for C++ 20 support 7f295b1bd3 Features: Activate C++ 20 support for Clang 5.0+ 71cb8ce3a1 Features: Activate C++ 20 support for GNU 8.0+ 8f146c4508 Features: Activate C++ 20 support for MSVC 19.12.25835+ 7fe580a362 Features: Add infrastructure for C++ 20 language standard 1b328e09a3 Features: Use -std=c++17 for C++ 17 on Clang 5.0+ 0bc3e5788a Features: Use -std=c++17 for C++ 17 on GNU 8.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1892
| * | | Help: Update compiler versions in cmake-compile-features.7.rstBrad King2018-03-271-5/+5
| | | |
| * | | Help: Add release note for C++ 20 supportBrad King2018-03-271-0/+6
| | | | | | | | | | | | | | | | Fixes: #17849
| * | | Features: Add infrastructure for C++ 20 language standardBrad King2018-03-272-1/+4
| |/ / | | | | | | | | | Issue: #17849
* | | Merge topic 'features-msvc-c'Brad King2018-04-021-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a53cf69022 Features: Record C features for MSVC e62dfeccb1 Features: Do not assume c_restrict support in CompileFeatures test c22cdf78d7 Features: Fix CompileFeatures test checks for C Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Harry Mallon <hjmallon@gmail.com> Merge-request: !1897
| * | | Features: Record C features for MSVCBrad King2018-03-291-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The MSVC C compiler has no notion of C language standards or flags. Tell CMake to assume that all language standards are available. Record available C language features depending on the version of the compiler. Fixes: #17858
* | | genex: Add TARGET_NAME_IF_EXISTS expressionAlex Turbov2018-03-282-0/+9
|/ / | | | | | | | | Define `$<TARGET_NAME_IF_EXISTS:tgt>` to mean `tgt` if the target exists and otherwise an empty string.
* | Merge topic 'UseSWIG-fix-library-prefix'Brad King2018-03-261-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 51b642679b UseSWIG: fix prefix library for Java on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mathieu Malaterre <mathieu.malaterre@gmail.com> Merge-request: !1871
| * | UseSWIG: fix prefix library for Java on WindowsMarc Chevrier2018-03-221-0/+6
| | | | | | | | | | | | Fixes: #17836
* | | Merge topic 'pr.find_package.prefixes'Craig Scott2018-03-231-9/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4eb5d851d5 Help: Add 'lib32|libx32|lib64' paths to find_package prefixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1878
| * | | Help: Add 'lib32|libx32|lib64' paths to find_package prefixesRuslan Baratov2018-03-211-9/+21
| | | | | | | | | | | | | | | | | | | | Document the conditions when 'lib32|libx32|lib64' variants will be added to the list of possible installation prefixes.
* | | | Merge topic 'list-sublist'Craig Scott2018-03-222-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 768225837d list: Add SUBLIST sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1874
| * | | | list: Add SUBLIST sub-commandMarc Chevrier2018-03-212-0/+17
| | | | | | | | | | | | | | | | | | | | Issue: #17823
* | | | | Merge topic 'policy-version-range'Craig Scott2018-03-224-26/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-214-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge topic 'clarify_inherited_properties'Brad King2018-03-227-24/+71
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6234509e Help: Clarify behavior of INHERITED properties 9cc97ab4dc Tests: Add tests for INHERITED property chaining Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1879
| * | | | | | Help: Clarify behavior of INHERITED propertiesCraig Scott2018-03-217-24/+71
| | |_|_|/ / | |/| | | | | | | | | | Fixes: #17839
* | | | | | Merge topic 'FindPython-new-implementation'Brad King2018-03-216-0/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50b5e9ed13 CMake build: Use new FindPython module 352baee207 FindPython*: New implementation for Python stuff Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !1819
| * | | | | | FindPython*: New implementation for Python stuffMarc Chevrier2018-03-206-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #16142
* | | | | | | Merge topic 'pr.target_compile_definitions'Brad King2018-03-211-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3af1daa186 Help: Document target_compile_definitions handling of -D Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1873
| * | | | | | | Help: Document target_compile_definitions handling of -DRuslan Baratov2018-03-201-0/+10
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Add an example of using the `target_compile_definitions` command and a note about usage of ``-D`` in items.
* | | | | | | Merge topic 'sunpro-5.15'Brad King2018-03-211-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 4267960fc9 Features: Record for SunPro 5.15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1875