summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix xref typos in target_compile_options docsBrad King2015-03-311-2/+2
| | | | Fix links to the COMPILE_OPTIONS directory and target properties.
* Allow add_dependencies() on INTERFACE libraries (#15414)Brad King2015-03-271-2/+2
| | | | | | | | | | Revert commit v3.0.0-rc1~175^2~20 (add_dependencies: Disallow use with INTERFACE_LIBRARY, 2013-12-25). Teach our dependency analysis to transitively follow INTERFACE target utility dependencies as was done or IMPORTED targets in commit v2.8.6~127^2~1 (Allow add_dependencies() on imported targets, 2010-11-19). Extend the InterfaceLibrary test with a case to cover header generation for a header-only INTERFACE library via a custom target.
* Help: Format add_dependencies documentationBrad King2015-03-271-9/+12
| | | | Add reStructuredText markup.
* file: Teach GLOB to list directories optionallyDomen Vrankar2015-03-201-3/+14
| | | | | | GLOB lists directories by default and GLOB_RECURSE does not. LIST_DIRECTORIES enables user to control the behavior explicitly for consistently for both GLOB and GLOB_RECURSE.
* Help: Clarify that ARGV# beyond ARGC will have an undefined behavior (#15380)Daniele E. Domenichelli2015-02-262-2/+15
|
* Help: Refine the .rst formatting of macro and function documentationDaniele E. Domenichelli2015-02-262-34/+35
|
* Merge topic 'ctest-output-options'Brad King2015-02-249-5/+42
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | ff1ddd2a ctest_upload: Add QUIET option 0b87b2a3 ctest_memcheck: Add QUIET option fc58bdb9 ctest_coverage: Add QUIET option 876a680d ctest_test: Add QUIET option 49ba4545 ctest_build: Add QUIET option f999dc0b ctest_configure: Add QUIET option 645ad117 ctest_update: Add QUIET option 19d1a559 ctest_start: Add QUIET option 1643b905 ctest_submit: Add QUIET option 12db1139 CTest: Add cmCTestOptionalLog macro
| * ctest_upload: Add QUIET optionZack Galbreath2015-02-231-1/+4
| |
| * ctest_memcheck: Add QUIET optionZack Galbreath2015-02-231-0/+4
| |
| * ctest_coverage: Add QUIET optionZack Galbreath2015-02-231-0/+5
| |
| * ctest_test: Add QUIET optionZack Galbreath2015-02-231-0/+6
| |
| * ctest_build: Add QUIET optionZack Galbreath2015-02-231-0/+5
| |
| * ctest_configure: Add QUIET optionZack Galbreath2015-02-231-1/+5
| |
| * ctest_update: Add QUIET optionZack Galbreath2015-02-231-1/+6
| |
| * ctest_start: Add QUIET optionZack Galbreath2015-02-231-2/+3
| | | | | | | | | | This suppresses all non-error messages that would have otherwise been printed by this function.
| * ctest_submit: Add QUIET optionZack Galbreath2015-02-231-0/+4
| | | | | | | | | | Specifying this option prevents CTest from printing any non-error messages to the console for this call to ctest_submit().
* | Merge topic 'find-command-prefix-from-PATH'Brad King2015-02-204-3/+16
|\ \ | | | | | | | | | | | | ffc06c12 Teach find_(library|file|path) to get prefixes from PATH (#15370)
| * | Teach find_(library|file|path) to get prefixes from PATH (#15370)Brad King2015-02-194-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The find_package command already knows how to compute installation prefixes from PATH. Use the same approach to establish prefixes for find_library, find_file, and find_path to use to look in directories like "<prefix>/lib[/<arch>]" and "<prefix>/include" for libraries and headers. This will reduce the amount of configuration end users need to do to establish a work environment rooted under a specific prefix.
* | | Help: Fix formatting of command parameter.Stephen Kelly2015-02-171-1/+1
|/ /
* | Merge topic 'doc-configure_file-output-location'Brad King2015-02-131-30/+95
|\ \ | | | | | | | | | | | | 029d38fa Help: Revise configure_file documentation (#15403)
| * | Help: Revise configure_file documentation (#15403)Brad King2015-02-121-30/+95
| | | | | | | | | | | | | | | | | | Format the documentation with better reST markup. Revise the wording to clarify how relative paths are handled. Also add an example section.
* | | install: Allow generator expressions in TARGETS DESTINATION (#14317)Brad King2015-02-111-0/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | This will allow per-config destinations for targets in EXPORT sets. Using multiple install(TARGETS) with separate CONFIGURATIONS is rejected as a target appearing more than once in an export set. Now instead one can write install(TARGETS foo EXPORT exp DESTINATION lib/$<CONFIG>) to get a single logical membership of the target in the export set while still having a per-config destination.
* | Allow export of targets with INTERFACE_SOURCES.Stephen Kelly2015-02-101-4/+0
|/ | | | | | Use the same rules for paths in source and binary dirs in installed INTERFACE_SOURCES as are used for INTERFACE_INCLUDE_DIRECTORIES.
* Merge topic 'update-docs'Brad King2015-02-052-2/+2
|\ | | | | | | | | | | f9839c49 Help: Document build targets automatically added to console pool. 44d6f3ce Help: Add some cross-linking.
| * Help: Add some cross-linking.Stephen Kelly2015-02-042-2/+2
| |
* | Help: Revise try_compile and try_run documentation (#15358)Brad King2015-02-042-94/+160
|/ | | | | | Rewrite the documentation using better reStructuredText markup constructs. Clarify interaction of options like LINK_LIBRARIES and CMAKE_FLAGS.
* Merge topic 'file-strings-utf-16'Brad King2015-01-271-1/+4
|\ | | | | | | | | 1f77a700 file: Teach STRINGS to support UTF-16 and UTF-32 encodings
| * file: Teach STRINGS to support UTF-16 and UTF-32 encodingsJustin Borodinsky2015-01-271-1/+4
| |
* | Merge topic 'doc-link_libraries-note'Brad King2015-01-271-8/+11
|\ \ | |/ |/| | | | | c7310917 Help: Clarify status of link_libraries command
| * Help: Clarify status of link_libraries commandBrad King2015-01-261-8/+11
| | | | | | | | | | | | | | | | | | The command has been documented as 'deprecated', but it is not really slated for removal and can still be used. Clarify this in the documentation. While at it, revise the documentation to use wording more consistent with that now in target_link_libraries. Suggested-by: Christoph GrĂ¼ninger <foss@grueninger.de>
| * Merge branch 'doc-CMAKE_FIND_PACKAGE_NAME' into releaseBrad King2015-01-121-0/+2
| |\
| * \ Merge branch 'fix-empty-target-property-queries' into releaseBrad King2015-01-112-5/+5
| |\ \
* | \ \ Merge topic 'try-run-link-libraries'Brad King2015-01-261-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0adcccb try_run: Add tests for LINK_LIBRARIES with mock libraries. 223c5cb7 try_run: Add test for bad link libraries. e2b1f058 try_run: Add support for LINK_LIBRARIES option.
| * | | | try_run: Add support for LINK_LIBRARIES option.Matt McCormick2015-01-261-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most functionality is already implemented in Source/cmCoreTryCompile.{h,cxx}. Document and improve argument parsing. This functionality is already being used by a number of modules, like CheckCSourceCompiles.cmake, but it is not documented.
* | | | | ctest_submit: Make CDASH_UPLOAD mode arguments more strictBrad King2015-01-201-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Disallow mixing of arguments from different command signatures. Extend the RunCMake.CTestSubmit test to cover such error cases.
* | | | | ctest_submit: Add CDASH_UPLOAD mode to upload files to CDashBill Hoffman2015-01-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the new cdash API where arbitrary files can be uploaded to the CDash server. This CDash API communicates via json files so the json parser jsoncpp was added to the Utilities directory.
* | | | | Merge topic 'doc-CMAKE_FIND_PACKAGE_NAME'Brad King2015-01-121-0/+2
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | 8435088d Help: Document CMAKE_FIND_PACKAGE_NAME variable b8abd258 find_package: Document CMAKE_FIND_PACKAGE_NAME variable
| * | | | find_package: Document CMAKE_FIND_PACKAGE_NAME variableGregor Jasny2015-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | | | | Merge topic 'fix-empty-target-property-queries'Brad King2015-01-112-5/+5
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | c6d03a10 tests: add tests for querying properties 76ff92e0 set_tests_properties: fix documentation 28214862 get_test_property: clarify the documentation 34a99094 get_target_property: discern empty from undefined properties (#15333)
| * | | | set_tests_properties: fix documentationBen Boeckel2015-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | The error is raised if the *test* doesn't exist, not the property.
| * | | | get_test_property: clarify the documentationBen Boeckel2015-01-111-4/+4
| |/ / / | | | | | | | | | | | | | | | | If either the test or the property doesn't exist, NOTFOUND will be used. No error is raised in either case.
* | | | Merge topic 'doc-if-variable-not-defined'Brad King2015-01-101-4/+5
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| 7a2c3f0c Help: Clarify if(<variable>) documentation (#15335)
| * | Help: Clarify if(<variable>) documentation (#15335)Brad King2015-01-081-4/+5
| |/ | | | | | | | | When the variable is not defined the signature is actually accepting a string. Also clarify fall-through from if(<constant>) case.
| * Merge branch 'doc-file-GENERATE-order' into releaseBrad King2014-12-051-1/+3
| |\
| * \ Merge branch 'target-sources-error-conditions' into releaseBrad King2014-12-011-0/+4
| |\ \
| * \ \ Merge branch 'doc-installed-file-property' into releaseBrad King2014-12-012-28/+63
| |\ \ \
* | | | | Help: Document MAIN_DEPENDENCY limitation in add_custom_commandBrad King2014-12-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Specify explicitly that at most one custom command may use a given source file as its main dependency.
* | | | | Help: Mention add_dependencies in add_custom_target DEPENDS optionBrad King2014-12-161-0/+3
| | | | | | | | | | | | | | | | | | | | This will direct readers looking to add target-level dependencies.
* | | | | Merge topic 'doc-file-GENERATE-order'Brad King2014-12-051-1/+3
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | fe21580b Help: Document file(GENERATE) signature option order
| * | | | Help: Document file(GENERATE) signature option orderBrad King2014-12-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.1.0-rc1~484^2 (Help: Format and revise file() command documentation, 2014-05-23) the signature of file(GENERATE) was accidentally simplified too much and dropped specification of the required argument ordering. Restore the signature to make the order clear.