summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* 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...
| * | | | | | Help: ``CMake`` → CMakeAlex Turbov2022-11-071-1/+1
| | | | | | |
| * | | | | | Help: Unindent _See Also_ related commands listAlex Turbov2022-11-075-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it similar to other commands.
| * | | | | | Help: Use `caption` option of `code-block` for JSON trace format snippetsAlex Turbov2022-11-071-4/+2
| | | | | | |
| * | | | | | Help: Use role `:program:`Alex Turbov2022-11-0611-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When mention execitable names use Sphinx semantic role `:program` instead of ``executable`` or **executable**.
| * | | | | | Help: Add some more `:option:` role to `cmake-language(7)` manualAlex Turbov2022-11-051-8/+8
| | | | | | |
| * | | | | | Help: Add `ATTENTION` for comments in the `cmake-language(7)` manualAlex Turbov2022-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some editors (OK, mine, I use `kate`) highlight some capitalized "keywords" (like `TODO`, `NOTE`, &etc) in comments.
* | | | | | | ASM_MARMASM: Add support for Microsoft ARM assembler languageIlia K2022-11-093-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999
* | | | | | | Merge topic 'file-set-file-api'Brad King2022-11-092-1/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3e9fb67bb file-api: support exporting file set information Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7867
| * | | | | | | file-api: support exporting file set informationBen Boeckel2022-11-082-1/+38
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes listing the filesets themselves as well as which file set (if any) each source file is associated with. Fixes: #24128
* | | | | | | Merge topic 'use_folders_on_by_default'Brad King2022-11-084-3/+54
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3acd22380 USE_FOLDERS: Treat as on by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Amir Masoud Abdol <amirmasoudabdol@icloud.com> Merge-request: !7830
| * | | | | | | USE_FOLDERS: Treat as on by defaultJuan Ramos2022-11-084-3/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a policy to treat the `USE_FOLDERS` global property as ON by default if it is not set. Fixes: #21695
* | | | | | | | Merge topic 'sphinx-linkcheck'Brad King2022-11-0818-91/+91
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a89c76a773 Build: Add `SPHINX_LINKCHECK` build option 137b00cda1 Build: Do not redirect `sphinx-build` output if CMake running in verbose mode d954fb8a60 Build: Deduplicate `add_custom_command()` calls for Sphinx targets 2af8724485 Merge branch 'backport-sphinx-linkcheck' into sphinx-linkcheck 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 branch 'backport-sphinx-linkcheck' into sphinx-linkcheckBrad King2022-11-0718-91/+91
| |\ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | / | | | |_|_|_|_|/ | | |/| | | | |
| | * | | | | | Help: Fix some redirects reported with sphinx linkcheckAlex Turbov2022-11-0715-81/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly it's about replace `http:` with `https:` protocol.
| | * | | | | | Help: Fix broken external links found by sphinx linkcheckAlex Turbov2022-11-074-10/+10
| | | | | | | |
* | | | | | | | Merge topic 'doc-block-return'Brad King2022-11-083-40/+78
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1046a61cfd Help: clean up and clarify block() and return() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7872
| * | | | | | | Help: clean up and clarify block() and return()Craig Scott2022-11-073-40/+78
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'doc-msvc-abi'Brad King2022-11-082-4/+6
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 128c414a56 Help: Clarify compilers affected by MSVC ABI abstractions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7881
| * | | | | | Help: Clarify compilers affected by MSVC ABI abstractionsBrad King2022-11-072-4/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `MSVC_DEBUG_INFORMATION_FORMAT` and `MSVC_RUNTIME_LIBRARY` abstractions apply to any compilers targeting the MSVC ABI. Fixes: #24137