summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* string: Tolerate SUBSTRING length exceeding end indexDomen Vrankar2014-11-131-1/+6
| | | | | | string SUBSTRING command now ignores length if it points past end of string and uses end of string instead. String SUBSTRING tests now cover more corner cases.
* Merge topic 'doc-install-SCRIPT-CODE-COMPONENT'Brad King2014-11-131-1/+2
|\ | | | | | | | | 7361e810 Help: Document COMPONENT option of install(SCRIPT/CODE) (#14956)
| * Help: Document COMPONENT option of install(SCRIPT/CODE) (#14956)Brad King2014-11-131-1/+2
| |
* | Help: Fix broken cross-references reported by 'nitpicky' optionBrad King2014-11-072-3/+3
| | | | | | | | | | Enable the Sphinx 'nitpicky' option and fix the resulting warnings about dangling references.
* | Merge branch 'release-doc-formatting' into releaseBrad King2014-11-071-8/+11
|\ \
| * | Help: Format add_library documented list of INTERFACE commandsBrad King2014-11-061-8/+11
| | | | | | | | | | | | Use a bullet list to make it easier to read.
* | | Merge branch 'doc-add_library-typo' into releaseBrad King2014-10-311-1/+1
|\ \ \
| * | | Documentation: Fix minor typo thecommand -> the commandNils Gladitz2014-10-311-1/+1
| | |/ | |/|
* | | Merge branch 'doc-add_compile_options' into releaseBrad King2014-10-292-11/+14
|\ \ \ | |_|/ |/| |
| * | Help: Reference add_compile_options from add_definitions (#15225)Brad King2014-10-291-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | When we explain in add_definitions documentation that it is intended only for preprocessor definitions, link to add_compile_options for adding other flags. Also explicitly mention that the order of add_definitions calls with respect to target creation does not matter. This differs from the behavior now explicitly stated in the documentation of add_compile_options.
| * | Help: Clarify add_compile_options documentation (#15225)Brad King2014-10-291-7/+8
| |/ | | | | | | | | | | | | Explain that it affects only targets added after the call. Fix the link to the COMPILE_OPTIONS directory propert documentation. Update the latter to explain that it is used to initialize the corresponding target property when a target is created.
* | Help: Wrap long ctest_submit signature lineBrad King2014-10-221-1/+5
|/
* Merge topic 'doc-set_test_properties-example'Brad King2014-09-151-1/+1
|\ | | | | | | | | d8054987 Help: Fix set_tests_properties documentation typo
| * Help: Fix set_tests_properties documentation typoAndrew Bauer2014-09-121-1/+1
| | | | | | | | The example for FAIL_REGULAR_EXPRESSION should actually name it.
* | Merge topic 'if-sanity'Brad King2014-09-151-0/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 858d5a0b Fix if() checks of CMAKE_SYSTEM_NAME on Cygwin e177e7af FPHSA: Avoid if() dereferencing of quoted variable 425acc52 cmcurl: Use if(DEFINED) to simplify conditions cede5cbd libarchive: Avoid depending on if() to dereference a quoted variable 2d97178b FindGTK2: Avoid depending on if() to dereference a quoted variable 0b12815d Modules/Test*.cmake: Use if(DEFINED) to simplify conditions 188a1f23 If: Introduce policy CMP0054 - don't dereference quoted variables in if() b900c1cc If: Extract cmConditionEvaluator from if() implementation
| * If: Introduce policy CMP0054 - don't dereference quoted variables in if()Nils Gladitz2014-09-111-0/+6
| |
* | Merge topic 'string-uuid-doc-fix'Brad King2014-09-101-1/+1
|\ \ | | | | | | | | | | | | e6ba52e8 StringUuid: Mark UPPER flag optional in sub-command synopsis
| * | StringUuid: Mark UPPER flag optional in sub-command synopsisNils Gladitz2014-09-101-1/+1
| |/
* | Merge topic 'doc-add_custom_command-multiple-commands'Brad King2014-09-091-0/+3
|\ \ | |/ |/| | | | | 1fdf4ff0 Help: Suggest in add_custom_command how to create a script (#15112)
| * Help: Suggest in add_custom_command how to create a script (#15112)Brad King2014-09-081-0/+3
| |
* | Merge topic 'doc-add_custom_command-multiple-commands'Brad King2014-09-041-1/+2
|\ \ | |/ | | | | | | 412926d0 Help: Clarify add_custom_command multiple command behavior (#15112)
| * Help: Clarify add_custom_command multiple command behavior (#15112)Brad King2014-09-021-1/+2
| | | | | | | | | | Explicitly say that the commands are not composed into a stateful script.
* | Help: Clarify --debug-trycompile usage with try_compileAlan W. Irwin2014-09-031-3/+4
|/ | | | | | Explain that try_compile calls need to be protected with conditions to avoid running more than once so that it is easy to isolate a single try_compile to perform with --debug-trycompile.
* StringUuid: Implement new string(UUID) sub-command.Nils Gladitz2014-08-281-0/+12
|
* Merge topic 'doc-add_custom_command'Brad King2014-08-061-121/+124
|\ | | | | | | | | | | | | 5bf1c5cc Help: Document add_custom_command PRE_BUILD/PRE_LINK for exe/lib only (#15059) 2a58c872 Help: Revise and format 'add_custom_command' docs cb88742d Help: Remove stray content from 'add_custom_command' docs
| * Help: Document add_custom_command PRE_BUILD/PRE_LINK for exe/lib only (#15059)Brad King2014-08-051-0/+2
| | | | | | | | | | | | | | State explicitly that the PRE_LINK mode is not for targets created by the add_custom_target command. The existing wording for PRE_BUILD being treated as PRE_LINK by non-VS generators will now imply this restriction for PRE_BUILD too.
| * Help: Revise and format 'add_custom_command' docsBrad King2014-08-051-97/+122
| | | | | | | | | | | | Format the reStructuredText markup manually. Organize the command options into a definition list. Use inline markup to cross-reference related documents.
| * Help: Remove stray content from 'add_custom_command' docsBrad King2014-08-051-24/+0
| | | | | | | | | | Remove leftover generator expression documentation that is now in the cmake-generator-expressions(7) manual.
* | file: Add ENCODING option to file(STRINGS) command (#10519)Clinton Stimpson2014-08-061-0/+3
|/ | | | Support extraction of UTF-8 strings.
* Help: Clarify target_link_libraries treatment of flags (#15034)Brad King2014-07-281-1/+4
| | | | Explain that link flags should not be used in transitive contexts.
* add_library: Allow arbitrary non-linked sources in OBJECT librariesBrad King2014-07-091-1/+2
| | | | | | | | | | | Loosen this restriction on OBJECT libraries to allow source files of any name to be generated by custom commands or listed for reference in IDE projects so long as they would not affect linking of a normal library. Update the rejection message to be more specific about the looser restriction. Extend the ObjectLibrary test to cover a ".cmake" file generated by a custom command in an OBJECT library.
* install(DIRECTORY): Add MESSAGE_NEVER option to avoid output (#13761)Brad King2014-06-241-1/+3
| | | | | | | | | | | | Installing large directories, e.g., the output of a doxygen run, prints one line per file resulting in too much noise in the build output. Add an option to the install(DIRECTORY) command to not print anything upon make install. Extend the RunCMake.install test with cases covering MESSAGE_NEVER behavior of the install(DIRECTORY) command. Suggested-by: Stefan Eilemann <Stefan.Eilemann@epfl.ch>
* install: Add CMAKE_INSTALL_MESSAGE variable (#13761)Brad King2014-06-242-1/+6
| | | | | | | | | Create a variable to allow users to control which installation messages are printed. In particular, provide a "LAZY" setting that prints "Installing" messages but not "Up-to-date" messages. This is desirable for incremental re-installations. Suggested-by: J Decker <d3ck0r@gmail.com>
* Help: Add install() command document section headersBrad King2014-06-241-5/+17
| | | | | Use section headers instead of horizontal dividers so that one may link to the sections.
* Help: Link to Object Library docs from add_libraryBrad King2014-06-121-2/+2
|
* Help: Organize add_library command documentationBrad King2014-06-121-4/+15
| | | | | Add a section for each library type signature. Add a table of contents at the top for the html builder.
* Help: Mention INTERFACE_SOURCES as settable for INTERFACE libsBrad King2014-06-121-2/+3
| | | | | | | The add_library(INTERFACE) and Interface Libraries documentation list all the INTERFACE_* properties and target_* commands that can be used to define the interface. Add INTERFACE_SOURCES and target_sources() to these lists for completeness.
* Help: Add comma to assist parsing of ctest_build command docs.Stephen Kelly2014-06-051-1/+1
|
* Help: Document that file(GENERATE) re-writes only when needed.Stephen Kelly2014-06-051-0/+2
|
* Help: Convert CTest Script variable references to cross-referencesBrad King2014-06-031-3/+5
| | | | | | In the ctest(1) manual and ctest_start() command documentation, convert mentions of CTest Script variables to cross-references so they will be rendered as links.
* Merge topic 'doc-include-dir-props'Brad King2014-06-031-0/+14
|\ | | | | | | | | 907e422b Help: Explain build/install-tree include dirs in more places (#14946)
| * Help: Explain build/install-tree include dirs in more places (#14946)Brad King2014-06-021-0/+14
| | | | | | | | | | | | | | | | | | | | | | Explain how to use $<BUILD_INTERFACE> and $<INSTALL_INTERFACE> directly in the documentation of the target_include_directories command and INTERFACE_INCLUDE_DIRECTORIES target property. Otherwise readers need to notice the link to the cmake-buildsystem(7) manual and find the example in that to understand the need for these expressions. Also fix the explanation in cmake-buildsystem(7) to not claim that relative paths may be used inside a BUILD_INTERFACE expression.
| * Merge branch 'doc-find_package-build-paths' into releaseBrad King2014-03-031-0/+1
| |\
| * \ Merge branch 'add_definitions-no-genex' into releaseBrad King2014-03-031-4/+2
| |\ \
| * \ \ Merge branch 'install-FILES-genex' into releaseBrad King2014-02-241-161/+168
| |\ \ \
* | | | | Help: Use "^^^^" for subsubsection headersBrad King2014-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the convention suggested in the Sphinx documentation and is already used in several other places in the CMake documentation. Update a few places where we were using other characters.
* | | | | Merge topic 'feature-extensions-by-default'Brad King2014-06-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 60a981ea Features: Enable compiler extensions by default.
| * | | | | Features: Enable compiler extensions by default.Stephen Kelly2014-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers enable their extensions by default, and disabling them implicitly can lead to results which are surprising or non-obvious to debug. http://public.kitware.com/pipermail/cmake-developers/2014-May/010575.html http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10214 https://www.mail-archive.com/cmake-developers@cmake.org/msg10116.html (Compiler feature extensions by default, 29 May 2014)
* | | | | | Merge topic 'doc-ctest-settings'Brad King2014-06-021-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d57a390 Help: Document ctest dashboard client usage 28f73dff Help: Document ctest_start initial checkout command variables
| * | | | | | Help: Document ctest_start initial checkout command variablesBrad King2014-05-301-0/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Describe the behavior of the ctest_start() command when the CTEST_CHECKOUT_COMMAND or CTEST_CVS_CHECKOUT variable is set.