summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-macro'Brad King2024-05-211-1/+1
|\ | | | | | | | | | | | | | | 67171a99be Help: Fix inaccurate use of "function" in macro docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9534
| * Help: Fix inaccurate use of "function" in macro docsDave Abrahams2024-05-211-1/+1
| |
* | Merge topic 'custom-command-output-hash-character'Brad King2024-05-161-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d2a503c1e add_custom_command: Allow OUTPUT filenames containing a hash '#' character b38000d774 cmGlobalXCodeGenerator: Re-implement legacy makefile path escaping d929089687 cmGlobalXCodeGenerator: Do not use legacy makefile escaping in shell commands d61fc2c52e cmGlobalXCodeGenerator: Migrate legacy makefile path escaping to local helper 6010e007c7 cmState: Add method to check for the Borland Makefiles generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9514
| * | add_custom_command: Allow OUTPUT filenames containing a hash '#' characterGlenn Coombs2024-05-151-0/+6
| |/ | | | | | | | | | | | | Most generators now support this character after escaping and quoting cleanups over time. Disallow it only on generators that do support it. Fixes: #25604
* | Help: try_compile how to pass compiler optionsscivision2024-05-121-2/+3
|/ | | | | | it wasn't obvious how to pass compiler options. Since the old add_definitions() is used we can workaround this by passing compiler options there.
* Help: Fix cmake_path exampleJuan Ramos2024-04-261-1/+1
| | | | Fixes: #25938
* Merge topic 'doc-genex'Brad King2024-04-252-6/+6
|\ | | | | | | | | | | | | | | | | | | 263f6b888c Help: Document TARGET_PROPERTY genex handling of transitive properties f70eb84be7 Help: Clarify role of TARGET_NAME generator expression 36145e2680 Help: Organize target-dependent generator expressions into subsections 50eadd794e Help: Clarify cross-references to target-dependent generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9460
| * Help: Clarify cross-references to target-dependent generator expressionsBrad King2024-04-252-6/+6
| |
* | Merge topic 'help.file'Brad King2024-04-251-318/+324
|\ \ | |/ |/| | | | | | | | | | | | | d2d2ffe1c1 Help: file: document GET_RUNTIME_DEPENDENCIES separately Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9456
| * Help: file: document GET_RUNTIME_DEPENDENCIES separatelyJoachim Wuttke (h)2024-04-241-318/+324
| | | | | | | | | | | | | | | | Moved documentation of file(GET_RUNTIME_DEPENDENCIES ...) from the 'Reading' section to a separate section at the bottom of the page. Because it is a very long text, and because this signature is quite different from all the others in the 'Reading' section.
* | Help: Update cmake-buildsystem(7) build and usage requirementsBrad King2024-04-248-8/+8
|/ | | | | | | Re-organize the section to explicitly describe target-specific commands, build properties, and usage requirement properties. Add builtin transitive properties that have been created since the document was first written.
* Help: Clarify documentation on regex character classesMartin Stadler2024-04-111-7/+8
| | | | In particular, give an example of matching `]`.
* enable_language(): Fail if called before project()Craig Scott2024-04-021-6/+10
| | | | Fixes: #25550
* Merge topic 'patch-help-manually-added-dependencies'Brad King2024-04-011-0/+4
|\ | | | | | | | | | | | | e722f73e40 Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9388
| * Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependenciesPeter Kokot2024-03-291-0/+4
| | | | | | | | | | This adds a note about the MANUALLY_ADDED_DEPENDENCIES target property to the add_dependencies documentation page. It was introduced in v3.8.0.
* | Merge topic 'add_library-no-static-fallback'Brad King2024-04-011-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9347
| * | add_library: Reject shared libraries on platforms that do not support themAsit Dhal2024-03-291-0/+7
| |/ | | | | | | | | | | Add policy CMP0164 to provide compatibility. Fixes: #25759
* | file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variableBrad King2024-03-291-2/+3
|/ | | | | This was missed by commit 434fe8a34b (file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable, 2024-02-26).
* Merge topic 'move-install-note'Brad King2024-03-291-10/+10
|\ | | | | | | | | | | | | 8cbd6f5754 Help: Fix location of install() note about superseded commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9382
| * Help: Fix location of install() note about superseded commandsFeRD (Frank Dana)2024-03-281-10/+10
| | | | | | | | | | | | | | The note regarding commands superseded by install() somehow wound up nested under the install(EXPORT) signature, when it has nothing to do with install(EXPORT). Move it to the top level, immediately before the Examples section.
* | add_dependencies: Document behavior under Ninja generatorsJuan Ramos2024-03-281-0/+7
| | | | | | | | Closes: #25796
* | Merge topic 'doc-linker-vars'Brad King2024-03-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | 6ba2bbc0f3 Help: Restructure and improve LINKER_TYPE docs c39bc6e412 Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags 1c7ccefd83 Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE> aecea7b28b Help: Grammar, typos and wording improvements for linker variables 5b21897c6e Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9362
| * Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keywordCraig Scott2024-03-221-1/+1
| |
| * Merge topic 'doc-release-3.29-typos' into release-3.29Brad King2024-03-191-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
* | \ Merge topic 'doc-release-3.29-typos'Brad King2024-03-191-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
| * | Help: Fix typos in 3.29 docsCraig Scott2024-03-191-1/+1
| | |
* | | Merge topic 'doc-exit-code-range'Brad King2024-03-191-2/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | c980745b82 Help: Specify advisable range for exit code in cmake_language(EXIT) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9352
| * | Help: Specify advisable range for exit code in cmake_language(EXIT)Craig Scott2024-03-191-2/+7
| |/ | | | | | | | | The limitations added here are documented in the bash shell's reference manual.
* | Merge topic 'doc-project-include-vars-3.29'Brad King2024-03-181-6/+6
|\ \ | |/ | | | | | | | | | | | | dcb894fb00 Help: Update project() code injection for new 3.29 include behavior 09cf39ab07 Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9343
| * Help: Update project() code injection for new 3.29 include behaviorCraig Scott2024-03-161-6/+6
| | | | | | | | | | | | Specifically, the various CMAKE_PROJECT_...INCLUDE... variables can now take a list of things, and those things can be module names too, not just file names.
* | Merge topic 'export-find_dependency-calls'Brad King2024-03-132-2/+10
|\ \ | |/ | | | | | | | | | | | | 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
| * EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-122-2/+10
| | | | | | | | | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* | Merge topic 'ctest-j-default'Brad King2024-03-111-4/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 5de1e21659 ctest: Allow passing -j without value to choose a contextual default bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization 7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case 30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9315
| * ctest: Allow passing -j without value to choose a contextual defaultBrad King2024-03-101-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Under job server integration, added by commit 80fe56c481 (ctest: Add support for running under a make job server on POSIX systems, 2023-11-15, v3.29.0-rc1~324^2), use a very high default so that parallelism is effectively limited only by available job server tokens. Otherwise, choose a default limit based on the number of processors. Also allow passing `0` to specify unbounded parallelism. Fixes: #25739
* | Merge topic 'Help-add_custom_command-grammo'Brad King2024-02-291-1/+1
|\ \ | |/ | | | | | | | | | | b03356f954 Help/add_custom_command: fix verb grammo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9297
| * Help/add_custom_command: fix verb grammoBen Boeckel2024-02-281-1/+1
| |
| * Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir' into release-3.29Brad King2024-02-271-0/+7
| |\ | | | | | | | | | | | | | | | | | | 189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9291
* | \ Merge topic 'curl-tls-version'Brad King2024-02-281-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 434fe8a34b file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable fb9a6cf909 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variable 8e6776b9f3 file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9290
| * | | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variableBrad King2024-02-281-0/+3
| | | | | | | | | | | | | | | | Issue: #25701
| * | | file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connectionsBrad King2024-02-281-0/+5
| |/ / | | | | | | | | | | | | | | | | | | Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
* | | Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir'Brad King2024-02-271-0/+7
|\ \ \ | |/ / |/| / | |/ | | | | | | 189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9291
| * Help/file: mention the working directory for `ARCHIVE_EXTRACT`Ben Boeckel2024-02-271-0/+7
| | | | | | | | See: https://discourse.cmake.org/t/10135
* | Help: Document create_test_sourcelist source path conventionBrad King2024-02-221-0/+5
| | | | | | | | | | Document the change in commit a29ca55b1f (create_test_sourcelist: use the full path to the driver, 2023-12-09, v3.29.0-rc1~264^2).
* | Help: Modernize create_test_sourcelist documentationBrad King2024-02-221-26/+54
|/
* Help: Explicitly discourage absolute install destinationsRobert Maynard2024-02-161-13/+16
| | | | | Document some of the problems caused by absolute install destinations. Encourage use of relative paths.
* Help: Fix example for return commandJohannes Schultz2024-02-151-1/+1
| | | | | `cmake_minimum_required` is the correct command, not `cmake_version_required`.
* Merge topic 'doc-autogen' into release-3.29Brad King2024-02-081-1/+1
|\ | | | | | | | | | | | | | | ccaf529c4e Autogen: Update Documentation 16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9223
| * Autogen: Update DocumentationOrkun Tokdemir2024-02-081-1/+1
| | | | | | | | | | | | | | * Add Qt 6 to documentation * Add explanation about `<ORIGIN>_autogen_timestamp_deps` Fixes: #25201
* | Help: Reword if(EXISTS) suggestion to prefer if(IS_READABLE)Brad King2024-02-061-4/+3
| |
* | Help: Fix cmake_language(EXIT) signature anchorBrad King2024-02-061-5/+0
|/