summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix cmake code block warnings produced by Sphinx 1.4Brad King2017-02-101-3/+3
| | | | | | | Some of our "cmake" code blocks do not use fully valid CMake syntax because they have placeholders for human reference. Sphinx has never been able to properly lex and highlight these, but now warns. Fix each block's syntax or change to a non-cmake block as appropriate.
* Merge topic '16432-static-frameworks'Brad King2017-01-312-3/+5
|\ | | | | | | | | | | | | | | | | 071f8e78 Apple: Add support for static frameworks d525754e Xcode: Refactor RunCMake.Framework test to prepare for static frameworks 45405f00 Xcode: Ignore Xcode project warning until issue is fixed 50e1c105 Makefile: For static libraries remove only the "real" lib before creating 8643ca75 Makefile: Re-order list of files to clean
| * Apple: Add support for static frameworksGregor Jasny2017-01-312-3/+5
| | | | | | | | Closes: #16432
* | string: Teach TIMESTAMP to treat %% as %Bernhard M. Wiedemann2017-01-271-0/+1
| | | | | | | | This encoding is documented by `strptime`.
* | cmTimestamp: Support SOURCE_DATE_EPOCH to override current timeBernhard M. Wiedemann2017-01-261-0/+6
|/ | | | | | See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
* Merge topic 'cdash_upload_retry'Brad King2017-01-201-1/+7
|\ | | | | | | | | | | | | 05ed82b1 ctest_submit: Update documentation for CDash upload retries 0ce7643a ctest_submit: improve handling of QUIET option 5614a5cd ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
| * ctest_submit: Update documentation for CDash upload retriesZack Galbreath2017-01-201-1/+7
| |
* | Merge topic 'expand_custom_commands'Brad King2017-01-172-1/+19
|\ \ | | | | | | | | | | | | 7c8ab7dd add_custom_{command,target}: Add COMMAND_EXPAND_LISTS option
| * | add_custom_{command,target}: Add COMMAND_EXPAND_LISTS optionEd Branch2017-01-142-1/+19
| |/ | | | | | | | | | | This option allows lists generated by generator expressions to be expanded. Closes: #15935
* | source_group: Add options create groups matching directory treeMateusz Janek2017-01-161-2/+16
|/ | | | Add `TREE` and `PREFIX` arguments to enable this behavior.
* try_compile: extend CMP0067 to honor language standards for CUDA.Robert Maynard2016-12-121-6/+10
|
* try_compile: Add policy CMP0067 to honor language standardsBrad King2016-12-061-0/+14
| | | | | | | | | | | | | | Projects use `try_compile` to check if they will be able to compile some particular source code. When a language standard variable like `CMAKE_CXX_STANDARD` is set, then the project intends to compile source code using a compiler mode for that standard. Therefore it makes sense for `try_compile` to use that standard in the test project too. Unfortunately this was not done when support for the `CMAKE_CXX_STANDARD` variable was first implemented. Add a policy to introduce the improved behavior in a compatible way. Closes: #16456
* try_compile: Add options to specify language standardsBrad King2016-12-061-1/+17
| | | | | | | | | Give `try_compile` callers a way to control the `CXX_STANDARD`, `CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the generated test target (or the `C` equivalents) in order to compile a test source for a particular language standard. Issue: #16456
* execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-301-1/+10
| | | | Different applications can use different output encodings.
* Merge topic 'add-SHA-3'Brad King2016-11-152-6/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f636d1e7 Help: Add notes for topic 'add-SHA-3' cb5dba8e Tests: Add SHA-3 algorithm coverage to CPack checksum test a9fa6099 ExternalProject: Add support for SHA-3 algorithms b4ffd26f ExternalData: Add support for SHA-3 algorithms 60939702 file: Add support for SHA-3 algorithms 92f95aed string: Add support for SHA-3 algorithms c326209f cmCryptoHash: Add support for SHA-3 algorithms 979e8ba6 Help: De-duplicate and spell out supported hash algorithms 7a79f7e3 librhash: Activate SHA-3 implementation 87584b5e Merge branch 'upstream-librhash' into add-SHA-3 7fcbd47e librhash 2016-11-06 (de79828d) c50c32a3 librhash: Update import script to add SHA-3 implementation
| * string: Add support for SHA-3 algorithmsBrad King2016-11-101-0/+8
| |
| * Help: De-duplicate and spell out supported hash algorithmsBrad King2016-11-102-6/+23
| | | | | | | | | | | | | | Spell out the supported algorithms in a definition list in the `string(<HASH>)` command documentation. Revise the `file(<HASH>)` command and CPack module documentation to reference it instead of duplicating the list.
* | Merge topic 'vs_targets_file_as_library'Brad King2016-11-111-0/+5
|\ \ | | | | | | | | | | | | 883bd34a VS: Treat libraries ending in `.targets` as msbuild imports
| * | VS: Treat libraries ending in `.targets` as msbuild importsSoji Yamakawa2016-11-091-0/+5
| | | | | | | | | | | | | | | | | | | | | Generate `<Import Project="..." .../>` to import the `.targets` files into `.vcxproj` files. Closes: #16340
* | | ctest_memcheck: Add DEFECT_COUNT option to capture defect countBetsy McPhail2016-11-091-1/+7
| |/ |/|
* | Help: Document error behavior of file(REMOVE/REMOVE_RECURSE)Christian Fetzer2016-11-011-1/+2
| | | | | | | | | | Clarifies that there is no need to surround file(REMOVE/REMOVE_RECURSE) calls by `if(EXISTS)` as non existent files are silently ignored.
* | Help: Clarify how to run sequential commands in execute_processChristian Fetzer2016-11-011-1/+4
|/ | | | | | The execute_process command starts all commands in parallel (in order for the piping to work). Mention this explicitly and also add a note about how to execute commands sequentially.
* Merge topic 'doc-math-EXPR'Brad King2016-10-171-4/+5
|\ | | | | | | | | c05d9b05 Help: Fix math(EXPR) documentation formatting
| * Help: Fix math(EXPR) documentation formattingBrad King2016-10-141-4/+5
| |
* | Help: Clarify `ctest_*` APPEND option behaviorBrad King2016-10-144-4/+12
|/ | | | | | Explicitly state that this marks the `.xml` to tell the dashboard server to append it to previously submitted results and that it does not cause results to be appended to the `.xml` file.
* Help: Clarify treatment of link flags in target_link_librariesJohn Beard2016-10-031-0/+6
|
* Merge topic 'ctest-capture-error'Brad King2016-09-215-2/+26
|\ | | | | | | | | | | | | adf1e32f Help: Add notes for topic 'ctest-capture-error' d328dc68 CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commands 9ac2e189 ctest_coverage: If gcov is not found just warn, not error
| * CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commandsBill Hoffman2016-09-205-2/+26
| | | | | | | | | | | | | | If a `ctest_*` command has CAPTURE_CMAKE_ERROR then any errors generated by cmake during that command will cause the value to be assigned `-1`. This will prevent a `ctest -S` script from returning non-zero unless the script explicitly calls `message(FATAL_ERROR)`.
* | Merge topic 'file-curl-httpheader'Brad King2016-09-161-0/+3
|\ \ | | | | | | | | | | | | 8f6cb366 file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption
| * | file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboptionRuslan Baratov2016-09-151-0/+3
| | |
* | | Merge topic 'find_package-dir-sort'Brad King2016-09-161-4/+14
|\ \ \ | | | | | | | | | | | | | | | | 31be918b find_package: Optionally sort globbed directories in a meaningful order
| * | | find_package: Optionally sort globbed directories in a meaningful orderPierluigi Taddei2016-09-151-4/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify sort order and direction. When multiple package with the same name have been found in the same location sorting option can be used to force a specific version to be loaded (e.g. libA_1.12.0 instead of libA_1.1.0). Currently sorting by NAME and by NATURAL order have been implemented. Natural ordering makes use of the `strverscmp(3)` ordering.
* | | Help: Clarify wording of include() for builtin module directoriesBrad King2016-09-151-3/+3
|/ / | | | | | | Issue: #16312
* | Merge topic 'file-curl-userpw'Brad King2016-09-141-0/+3
|\ \ | | | | | | | | | | | | | | | abeb42f1 Help: Add notes for topic 'file-curl-userpw' e5ba1041 file(DOWNLOAD|UPLOAD): Add 'USERPWD' suboption
| * | file(DOWNLOAD|UPLOAD): Add 'USERPWD' suboptionRuslan Baratov2016-09-131-0/+3
| | |
* | | Merge topic 'add_androidmk_generator'Brad King2016-09-142-2/+27
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 42ce9f1e Add support for creating prebuilt Android.mk files d5257063 Export: Virtualize file generation step helpers f81b9475 Export: Factor out file generation steps into helpers
| * | Add support for creating prebuilt Android.mk filesBill Hoffman2016-09-132-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add options to the `install()` and `export()` commands to export the targets we build into Android.mk files that reference them as prebuilt libraries with associated usage requirements (compile definitions, include directories, link libraries). This will allow CMake-built projects to be imported into projects using the Android NDK build system. Closes: #15562
* | | Merge topic 'timestamp-names'Brad King2016-09-131-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | 410add40 Help: Add notes for topic 'timestamp-names' 751f7b52 string(TIMESTAMP ...): add '%a' and '%b' format specifiers
| * | | string(TIMESTAMP ...): add '%a' and '%b' format specifiersRuslan Baratov2016-09-121-0/+2
| | |/ | |/| | | | | | | | | | %b: Abbreviated month name (e.g. Oct). %a: Abbreviated weekday name (e.g. Fri).
* | | Help: Fix formatting in separate_arguments documentationJames Touton2016-09-121-5/+7
|/ / | | | | | | | | | | Make backslashes visible in the text. Rename VARIABLE to <var> in second signature for consistency with the first signature. Add link to referenced MSDN documentation.
* | cmake_parse_arguments: Add option to read arguments from ARGC/ARGV#Bill Hoffman2016-09-081-0/+11
|/ | | | | | | | | The `ARGC`/`ARGV#` variables in function scope hold the original arguments with no ;-list flattening. Add a way for functions to cleanly parse arguments that may contain `;`. This also avoids extra copying of the arguments. Co-Author: Brad King <brad.king@kitware.com>
* add_custom_command: Add DEPFILE option for NinjaKulla Christoph2016-08-301-0/+7
| | | | | | | | Provide a way for custom commands to inform the ninja build tool about their implicit dependencies. For now simply make use of the option an error on other generators. Closes: #15479
* Merge topic 'extend-find-package-search-path'Brad King2016-08-241-7/+10
|\ | | | | | | | | | | 828d6c13 find_package: Extend search path for combined Windows/UNIX convention ff5c89de Help: Widen find_package search path table
| * find_package: Extend search path for combined Windows/UNIX conventionSilvio Traversaro2016-08-241-0/+3
| | | | | | | | | | | | | | | | Find packages that install their cmake package configuration files in `lib/cmake/<name>` when they are installed in the default Windows CMAKE_INSTALL_PREFIX, `C:/Program Files/<name>`. Closes: #16212
| * Help: Widen find_package search path tableSilvio Traversaro2016-08-231-7/+7
| | | | | | | | Make room for additional longer entries.
* | Help: Clarify get_cmake_property command documentationBrad King2016-08-231-3/+8
|/ | | | Closes: #13810, #16258
* Add additional <= and >= comparison operatorsChuck Atkins2016-08-092-18/+47
| | | | | This adds the LESS_EQUAL, GREATER_EQUAL, and associated STR and VERSION equivalents to use the combined <= and >= functionality.
* Merge topic 'parent-scope-docs'Brad King2016-06-131-1/+3
|\ | | | | | | | | 42fe7d21 Help: clarify PARENT_SCOPE behavior
| * Help: clarify PARENT_SCOPE behaviorBen Boeckel2016-06-131-1/+3
| | | | | | | | Fixes #15093.
* | Teach find_library and find_package to search lib32 paths (#11260)Daniel Scharrer2016-06-101-0/+7
| | | | | | | | | | | | | | Add a ``FIND_LIBRARY_USE_LIB32_PATHS`` global property analogous to the ``FIND_LIBRARY_USE_LIB64_PATHS`` property. This helps find commands on multilib systems that use ``lib32`` directories and either do not have ``lib`` symlinks or point ``lib`` to ``lib64``.