summaryrefslogtreecommitdiff
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* cmCxxModuleMapper: support the `clang` module map formatBen Boeckel2022-12-021-3/+6
|
* FindPython: add support for Stable ABIMarc Chevrier2022-11-291-0/+6
| | | | Fixes: #24141
* Merge topic 'msvc-cxx-no-optin-experimental-flag'Brad King2022-11-291-1/+2
|\ | | | | | | | | | | | | | | 12e4bc73cb MSVC: don't opt into dyndep support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7965
| * MSVC: don't opt into dyndep supportBen Boeckel2022-11-281-1/+2
| | | | | | | | | | | | | | Instead, just set the variables for how scanning works since that is part of the compiler mechanisms. Fixes: #24198
* | Merge topic 'revert-find_library-msvc-libfoo.a'Brad King2022-11-291-5/+13
|\ \ | | | | | | | | | | | | | | | | | | 955d6245c1 MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7962
| * | MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention"Brad King2022-11-281-5/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | Revert commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2022-09-19, v3.25.0-rc1~111^2). When targeting the MSVC ABI, this causes GNU-ABI libraries to be found in cases they were not previously, and broke existing builds. Revert the change pending further discussion on how to handle the motivating use case. Issue: #23975 Fixes: #24168
* | Merge topic 'doc-add_compile_options-example'Craig Scott2022-11-291-4/+7
|\ \ | | | | | | | | | | | | | | | | | | f03a1833e2 Help: Update compiler-specific add_compile_options() example and prose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7959
| * | Help: Update compiler-specific add_compile_options() example and proseMichael Hirsch2022-11-291-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid hard-coding a warning-as-error flag now that CMake offers a first class abstraction for that. Also mention some relevant generator expressions which can be used to provide even more specific targeting with language-specific flags. Fixes: #24200
* | | Help: Clarify behavior of BEFORE with target_compile_options()Craig Scott2022-11-272-9/+18
|/ /
* | Merge topic 'cxxmodules-doc-msvc-modmapfmt'Brad King2022-11-221-2/+7
|\ \ | |/ | | | | | | | | | | 19fc1ba630 Help/dev/experimental: document the `msvc` module map format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7944
| * Help/dev/experimental: document the `msvc` module map formatBen Boeckel2022-11-211-2/+7
| |
* | Merge topic 'custom-command-comment-genex'Brad King2022-11-223-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 26d813092b add_custom_{command,target}: add genex support for COMMENT 60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7887
| * | add_custom_{command,target}: add genex support for COMMENTPeter Würth2022-11-193-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate and expand generator expressions in the `COMMENT` argument of the `add_custom_command()` and `add_custom_target()` commands. This allows to include generator expressions, e.g. a targets location $<TARGET_...> or the current configuration $<CONFIG>, in the build-time messages. Fixes #22507
* | | Merge topic 'help-remove-self-reference-links'Brad King2022-11-2160-98/+98
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb77695e25 Help: clean up some minor typos c36910476a Help: remove links from pages to themselves 391c53a851 Help/prop_tgt/LINK_OPTIONS: fix `:genex:` reference de4909ea16 Help: fix some minor markup errors c42c77b020 Help/CMAKE_GLOBAL_AUTORCC_TARGET_NAME: fix link reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7940
| * | | Help: clean up some minor typosBen Boeckel2022-11-182-2/+2
| | | |
| * | | Help: remove links from pages to themselvesBen Boeckel2022-11-1855-92/+92
| | | | | | | | | | | | | | | | | | | | At least the top-reference links. Internal `:ref:` usages have been left intact.
| * | | Help/prop_tgt/LINK_OPTIONS: fix `:genex:` referenceBen Boeckel2022-11-181-1/+1
| | | |
| * | | Help: fix some minor markup errorsBen Boeckel2022-11-184-4/+4
| | | |
| * | | Help/CMAKE_GLOBAL_AUTORCC_TARGET_NAME: fix link referenceBen Boeckel2022-11-181-1/+1
| |/ /
* | | Merge topic 'xcode-ios-extensionkit'Brad King2022-11-215-1/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b99c386122 Xcode: Allow bundling extensionkit extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7900
| * | | Xcode: Allow bundling extensionkit extensionsRussell Greene2022-11-185-1/+36
| |/ / | | | | | | | | | Fixes: #24150
* | | Merge topic 'lang-std-flag-order'Brad King2022-11-212-0/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1c20b08b4 cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site 914571a042 Place language standard flags just after CMAKE_<LANG>_FLAGS ad16ae5c70 VS: Recognize -std: flag in CMAKE_C_FLAGS in target with C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7931
| * | | Place language standard flags just after CMAKE_<LANG>_FLAGSBrad King2022-11-182-0/+29
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we added the language standard flag near the end of all options, even after those added by `add_compile_options` and friends. However, on some compilers such as MSVC, the `-std` flag may reset defaults for flags that precede it on the command line. Move the language standard flag to before all other flags that CMake adds for other abstractions, and before those added by `add_compile_options`. `CMAKE_<LANG>_FLAGS` should still precede the language flags though, because they are meant to be treated as language-wide modifications to the compiler defaults, similar to `$CC $CFLAGS`. Fixes: #23860 Fixes: #24170
* | | Merge topic 'cxx-scanning-properties'Brad King2022-11-216-0/+59
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | a02d792c6e cxxmodules: add properties to control scanning 008c09d6db cmNinjaTargetGenerator: factor out determining the fileset of a source Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7935
| * | cxxmodules: add properties to control scanningBen Boeckel2022-11-186-0/+59
| | | | | | | | | | | | | | | | | | The `CXX_SCAN_FOR_MODULES` property may be used to control scanning for targets and for source files rather than assuming "C++20 always needs to be scanned".
* | | Merge topic 'file-COPY_FILE-retry'Brad King2022-11-181-1/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d34986036f ExternalData: Improve robustness on Windows to copy a data object to a file efa9eec040 file(COPY_FILE): Add option to retry on Windows if input access fails fa518188d8 cmSystemTools: Remove unused CopySingleFile overload Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7934
| * | | file(COPY_FILE): Add option to retry on Windows if input access failsBrad King2022-11-171-1/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | On Windows, a file may be inaccessible for a short time after it is created. This occurs for various reasons, including indexing, antivirus tools, and NTFS's asynchronous semantics. Add an `INPUT_MAY_BE_RECENT` option to tell CMake that the input file may have been recently created so that we can retry a few times to read it.
* | | Merge topic 'build-local-interface-genex'Brad King2022-11-182-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38cbf5e15b Genex: Add $<BUILD_LOCAL_INTERFACE:...> genex 37b5c78688 cmGeneratorExpression: Refactor stripExportInterface() to use enum class Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7919
| * | | Genex: Add $<BUILD_LOCAL_INTERFACE:...> genexKyle Edwards2022-11-172-0/+12
| |/ / | | | | | | | | | Fixes: #23209
* | | Merge topic 'genex-TARGET_PROPERTY-scope'Brad King2022-11-181-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 8437141b53 Genex: Fix TARGET_PROPERTY lookup scope in transitive usage requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !7928
| * | Genex: Fix TARGET_PROPERTY lookup scope in transitive usage requirementsBrad King2022-11-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `$<TARGET_PROPERTY:tgt,prop>` is used in an `INTERFACE_*` target property for usage requirements, it may be evaluated in the context of a dependent target in another directory. Look up the `tgt` name in the directory of the target whose property holds the expression so that imported targets isolated to that directory are visible. Fixes: #24163
* | | file(ARCHIVE_CREATE): Allow higher compression level for ZstdAmir Masoud Abdol2022-11-161-0/+3
|/ / | | | | | | | | | | | | | | This allows the Zstd compression-level to be set between 0-19. I've adjusted some of the tests, and error messages to indicates the selected algorithm, and min/max of its compression-level. Fixes: #24160
* | Merge topic 'cmake-E-copy-t-mode'Brad King2022-11-152-5/+13
|\ \ | | | | | | | | | | | | | | | | | | 8d9069e5b6 cmake -E copy: Add support for -t argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7913
| * | cmake -E copy: Add support for -t argumentKyle Edwards2022-11-152-5/+13
| | | | | | | | | | | | Fixes: #23543
* | | Merge topic 'top-level-command-order'Brad King2022-11-152-1/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 59573bf5b9 project: Warn at top-level if `cmake_minimum_required` wasn't called 23f3dd9f7c RunCMake/project: Ignore exact line number in stderr checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7902
| * | project: Warn at top-level if `cmake_minimum_required` wasn't calledfriendlyanon2022-11-112-1/+8
| | | | | | | | | | | | | | | | | | | | | The top-level project() call will now issue an AUTHOR_WARNING if it wasn't called after cmake_minimum_required(). Fixes: #24071
* | | Merge topic 'msvc-19.34-cpp-modules'Brad King2022-11-141-0/+4
|\ \ \ | |/ / |/| / | |/ | | | | | | | | 0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7745
| * msvc: bless MSVC 19.34 support for C++ modules as experimentalBen Boeckel2022-11-111-0/+4
| | | | | | | | Visual Studio 17.4 now contains official support for what CMake needs.
| * Merge topic 'sphinx-linkcheck' into release-3.25Brad King2022-11-0818-91/+91
| |\ | | | | | | | | | | | | | | | | | | | | | 435b0c573c Help: Fix some redirects reported with sphinx linkcheck ac5295a9de Help: Fix broken external links found by sphinx linkcheck Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7876
| * \ Merge topic 'doc-block-return' into release-3.25Brad King2022-11-083-40/+78
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1046a61cfd Help: clean up and clarify block() and return() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7872
| * \ \ Merge topic 'doc-msvc-abi' into release-3.25Brad King2022-11-082-4/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 128c414a56 Help: Clarify compilers affected by MSVC ABI abstractions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7881
| * \ \ \ Merge topic 'tasking_update_toolset_doc' into release-3.25Brad King2022-11-081-4/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | beade1cb42 Tasking: Update CMAKE_TASKING_TOOLSET documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7880
* | \ \ \ \ Merge topic 'doc-improvements'Brad King2022-11-10112-299/+537
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4d1f85297 Help: Move a note about arguments and genexes into include file 968224484f Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` files 65457e4fae Help: Add _See Also_ sections to related CMake commands c86ec79d07 Help: Use direct refs to genexes instead of ``$<GENEX-NAME>`` 8c6274326d Help: Use CMake highlighting for command synopsis c356a94512 Help: Use monospaced font for a genex name in a section title f98c8707f4 Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptions 2ba351ca4f Help: ``CMake`` → CMake ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7873
| * | | | | | Help: Move a note about arguments and genexes into include fileAlex Turbov2022-11-0912-52/+39
| | | | | | |
| * | | | | | Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` filesAlex Turbov2022-11-096-6/+0
| | | | | | |
| * | | | | | Help: Add _See Also_ sections to related CMake commandsAlex Turbov2022-11-0944-43/+311
| | | | | | |
| * | | | | | Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``Alex Turbov2022-11-0916-69/+62
| | | | | | |
| * | | | | | Help: Use CMake highlighting for command synopsisAlex Turbov2022-11-0929-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of CMake commands use it. Fix a few of them to do the same.
| * | | | | | Help: Use monospaced font for a genex name in a section titleAlex Turbov2022-11-091-2/+2
| | | | | | |
| * | | | | | Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptionsAlex Turbov2022-11-072-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of CMake commands use syntax highlighting when describe sub-commands syntax. Fix a few of them to be like others...