summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Help: clarify DESTINATION and TYPE usage for install()Craig Scott2019-03-051-51/+85
|
* Merge branch 'docs_try_commands' into release-3.14Brad King2019-02-252-25/+33
|\ | | | | | | Merge-request: !3013
| * Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLESCraig Scott2019-02-241-1/+3
| |
| * Help: Consistency in try_compile() docs for target typeCraig Scott2019-02-241-8/+14
| |
| * Help: try_compile() readability and grammar improvementsCraig Scott2019-02-241-6/+6
| |
| * Help: User-provided variable names for try_* commandsCraig Scott2019-02-242-12/+12
| | | | | | | | | | All uppercase is typically used for command keywords. Non-keyword arguments should generally be shown as `<something>` according to the CMake documentation guide.
* | Merge branch 'file_symlink_docs' into release-3.14Brad King2019-02-181-23/+23
|\ \ | | | | | | | | | Merge-request: !2974
| * | Help: Clarify and improve readability of link-related file subcommandsCraig Scott2019-02-161-23/+23
| |/
* | Help: Remove outdated statement about get_filename_component()Craig Scott2019-02-161-4/+3
|/ | | | | | | | After !2853, the statement that the "longest file extension is always considered" is no longer true. Both NAME_WLE and LAST_EXT now return details based on the shortest file extension. Fixes: 7a25ef326b (Help: Add documentation for new get_filename_component components, 2019-01-24, 3.14.0-rc1)
* Help: Fix elseif/endif typoJuuso "Linda" Lapinlampi2019-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In CMake 3.13.x, we had this evaluation for if() conditions: if(a) elseif(b) else(a) endif(a) The sensible intention of the change in commit c2efb3efcd (Help: Revise docs on Scripting Commands, 2018-10-16, v3.14.0-rc1~505^2) was: > "endif", "endfunction" etc: Explain that the argument is optional and > maintained for compatibility only Instead of "endif", it ended up being written to the documentation as "elseif" by the commit author (oops) to if()'s page. if(a) elseif(a!?) else() endif(a?) Truthfully, endif()'s parameter should be an optional verbatim repeat and not elseif()'s. If it wasn't, elseif() would be described to be the same as if(). The rightful intended description is: if(a) elseif(b) else() endif() Fix that typo.
* set: warn of extra arguments after ENV value.Taylor Holberton2019-02-011-1/+8
| | | | Fixes: #18842
* Help: Add documentation for new get_filename_component componentsTushar Maheshwari2019-01-241-0/+2
|
* Merge topic 'command_file_link'Brad King2019-01-211-0/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | 0f08ed8936 cmSystemTools: Silence CreateLink and CreateSymlink errors 593d986470 Tests: Avoid cross-device links in CREATE_LINK test 9a3d85cfc5 Tests: Skip symlink tests on Windows e68ea269d7 Tests: CREATE_LINK subcommand negative test case 45aa9c65a1 Tests: file CREATE_LINK subcommand test cases 8bb7562f1a Help: Add documentation for file(CREATE_LINK) subcommand 81650e488c cmFileCommand: Add CREATE_LINK subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2759
| * Help: Add documentation for file(CREATE_LINK) subcommandTushar Maheshwari2019-01-161-0/+23
| |
* | Merge topic 'find-package-resolve-symlinks'Brad King2019-01-211-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | b773e58099 find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS a5e948a36f find_package: optionally resolve symlinks when discovering packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2798
| * | find_package: optionally resolve symlinks when discovering packagesDavid Aguilar2019-01-161-0/+5
| |/ | | | | | | | | | | | | | | | | Teach find_package() to resolve symlinks when constructing relocatable prefix paths from discovered cmake config files. The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables this behavior when set to `TRUE`. Fixes: #18704
* | Merge topic 'submit-url'Brad King2019-01-211-2/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2915a75615 CTest: Add documentation and release notes for SubmitURL d6475daa79 Modules/CTest: Set SubmitURL 938f06fda6 ctest_submit: Add parameter SUBMIT_URL 65e725c957 CTest: Add option SubmitURL 65f1fc9d63 CTest: Add function GetSubmitURL 2bedd5fb7c ctest_submit: Remove submit method from log output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2719
| * | CTest: Add documentation and release notes for SubmitURLRegina Pfeifer2019-01-161-2/+8
| |/
* | Merge topic 'GHS_updates'Brad King2019-01-181-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21ab58d3f8 GHS: Update test suite 72e0c115b7 GHS: Add Compiler ID detection 436cc5e991 GHS: try_compile() now uses GHS platform variables 4a1ec0de3d GHS: Fix toolset selection 1a66acdef2 GHS: Append ".gpj" to target name when generating build command 0c9e47d7cd GHS: Integrity Application updates 8044318431 GHS: Add support for some of the source file properties 73092b2213 GHS: Add support for object libraries ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2231
| * | GHS: try_compile() now uses GHS platform variablesFred Baksik2019-01-161-0/+3
| |/ | | | | | | | | | | | | -- Forward GHS platform variables to try_compile() CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile() -- Update tests to no longer add GHS platform variables to try_compile() -- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
* | Merge topic 'qt_wrap_command_deprecations'Craig Scott2019-01-162-2/+26
|\ \ | |/ |/| | | | | | | | | | | 74dc68b406 qt_wrap_*: Add deprecation notes to command docs Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !2738
| * qt_wrap_*: Add deprecation notes to command docsTobias Hunger2019-01-152-2/+26
| | | | | | Co-authored-by: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'find_package-doc-clarification'Kyle Edwards2019-01-151-3/+3
|\ \ | | | | | | | | | | | | | | | | | | 427ebecdf5 Help/find_package: clarify intended behavior with REQUIRED QUIET Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2777
| * | Help/find_package: clarify intended behavior with REQUIRED QUIETBen Boeckel2019-01-141-3/+3
| | | | | | | | | | | | See #18773
* | | Help: Provide cross-references from and to set_propertyJoachim Wuttke (o)2019-01-104-6/+18
|/ /
* | Merge topic 'link-options'Craig Scott2018-12-231-0/+5
|\ \ | | | | | | | | | | | | | | | | | | f255280fd9 PIE link options: Update strategy to fix performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2739
| * | PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-191-0/+5
| |/ | | | | | | Fixes: #18700
* | Merge topic 'install-code-script-genex'Craig Scott2018-12-231-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 25cae1e85d install: Teach CODE,SCRIPT modes to evaluate generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2688
| * | install: Teach CODE,SCRIPT modes to evaluate generator expressionsJon Chronopoulos2018-12-221-0/+5
| | | | | | | | | | | | | | | | | | | | | This also introduces CMP0087 which will keep the OLD behaviour of not evaluating generator expressions Fixes: #15785
* | | Help: Revise compile options command docs, and provide exampleJoachim Wuttke (h)2018-12-202-20/+49
| |/ |/| | | | | | | | | | | | | | | | | For add_compile_options and target_compile_options: - Insert sections. - Provide cross-links between the two doc pages - Alleviate and explain links to the commands ...compile_definitions and ...include_directories. - Alleviate link to COMPILE_OPTIONS, and integrate it into the synopsis.
* | Documentation: Reference list of target properties in get_target_propertyTobias Hunger2018-12-131-0/+2
|/
* Merge topic 'file-read_symlink'Brad King2018-12-101-0/+24
|\ | | | | | | | | | | | | | | 31840e363f file: Fix formatting of error in SIZE sub-command 98a39be6cf file: Add READ_SYMLINK sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2705
| * file: Add READ_SYMLINK sub-commandKyle Edwards2018-12-061-0/+24
| |
* | Merge topic 'misc-typos'Brad King2018-12-071-1/+1
|\ \ | |/ |/| | | | | | | | | 8adf237e52 Misc. comment typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2703
| * Misc. comment typosluz.paz2018-12-051-1/+1
| | | | | | Found via `codespell`
* | try_compile/try_run: Add support for LINK_OPTIONS option.Marc Chevrier2018-12-012-2/+14
|/
* Merge topic 'file-size'Brad King2018-11-281-0/+11
|\ | | | | | | | | | | | | 12b471e828 file: add SIZE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2639
| * file: add SIZE optionWouter Klouwen2018-11-271-0/+11
| | | | | | | | | | This commit adds the SIZE option to file(). It returns the file size of the given path if it exists and produces an error if not.
* | ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME valueRegina Pfeifer2018-11-201-3/+1
|/ | | | | | | | Since commit v3.0.0-rc1~260^2~32 (ctest_build: Use "cmake --build" to launch the native build tool, 2013-11-14) we no longer need to use the project name in `ctest_build()`. Fixes: #18612
* Merge topic 'macro_doc_cleanups'Brad King2018-11-191-5/+5
|\ | | | | | | | | | | | | b82526c654 Help: Minor grammar and typo corrections for macro command docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2622
| * Help: Minor grammar and typo corrections for macro command docsCraig Scott2018-11-151-5/+5
| | | | | | Follow-up to !2616, specifically commit 22cca9b810
* | CMP0083: fix warning message on try_compileMarc Chevrier2018-11-191-1/+2
|/ | | | Fixes: #18593
* Help: describe differences between macro and function.Joachim Wuttke (l)2018-11-142-10/+38
|
* Help: in macro vs function example, use lowercase names.Joachim Wuttke (l)2018-11-141-5/+5
| | | | | | Follow our own advise not to change cases. Omit the leading underscore.
* Help: Document that function invocation is case-insensitiveJoachim Wuttke (l)2018-11-131-21/+46
|
* Help: Document that macro invocation is case-insensitiveJoachim Wuttke (l)2018-11-131-16/+42
|
* Merge topic 'macro'Brad King2018-11-131-1/+6
|\ | | | | | | | | | | | | dcf11cbcdc Help: Mention endmacro argument as legacy only. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2606
| * Help: Mention endmacro argument as legacy only.Joachim Wuttke (l)2018-11-131-1/+6
| | | | | | | | Same change as previously done for function, if, while, ...
* | If: Support the 'DEFINED CACHE{}' syntaxRobert Maynard2018-11-091-5/+4
|/
* Help: Document if(DEFINED ENV{name})Joachim Wuttke (h)2018-11-081-7/+9
|