summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add-findpackage-root-prefix'Brad King2017-05-226-16/+50
|\ | | | | | | | | | | | | | | | | fe8f08d2 find_*: Add docs for PackageRoot search path group 57744ca9 find_*: Add tests for PackageRoot search path group ef3d360a find_*: Add a new PackageRoot search path group Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !796
| * find_*: Add docs for PackageRoot search path groupChuck Atkins2017-05-196-16/+50
| |
* | Help: Fix typo in add_library(... ALIAS ...) textGregor Jasny2017-05-141-1/+1
|/
* Help: Document HEADER_FILE_ONLY use caseRoman Lebedev2017-05-092-0/+7
| | | | Describe how to get sources into IDE project files.
* Merge topic 'ctest_submit_headers'Brad King2017-05-051-2/+8
|\ | | | | | | | | | | | | 1a7d00bd ctest_submit: Add HTTPHEADER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !793
| * ctest_submit: Add HTTPHEADER optionZack Galbreath2017-05-041-2/+8
| | | | | | | | | | | | | | | | | | Allow CTest script writers to specify additional HTTP headers to be sent to CDash during submission. The motivating case for this feature is a corresponding change in CDash. This will allow projects to refuse submissions from any site not bearing a valid authentication token.
* | Merge topic 'excludeFixtures'Brad King2017-05-022-0/+20
|\ \ | | | | | | | | | | | | | | | | | | c1b2b7c0 Add ctest options for limiting which tests fixtures add Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !778
| * | Add ctest options for limiting which tests fixtures addCraig Scott2017-05-012-0/+20
| |/ | | | | | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* | separgs: Add a NATIVE_COMMAND modeChristian Pfeiffer2017-04-261-3/+6
|/
* Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-1/+1
| | | | This generator has been deprecated since CMake 3.6. Remove it.
* Merge topic 'objlib-extend'Brad King2017-04-192-16/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712
| * Allow OBJECT libraries to be installed, exported, and importedRobert Maynard2017-04-182-16/+16
| | | | | | | | | | | | | | | | Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
* | Merge topic 'doc-CMAKE_MATCH_n'Brad King2017-04-192-21/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | eb08e1fe Help: Document CMAKE_MATCH_<n> variables 8dd99752 Help: Link from if(MATCHES) to regex specification docs a0091a69 Help: Format string() command regex specification docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !719
| * | Help: Document CMAKE_MATCH_<n> variablesBrad King2017-04-182-1/+2
| | |
| * | Help: Link from if(MATCHES) to regex specification docsBrad King2017-04-182-1/+3
| | |
| * | Help: Format string() command regex specification docsBrad King2017-04-181-20/+30
| |/
* | Help: Document find command search path separatorsBrad King2017-04-182-2/+8
|/ | | | | | | | The `find_*` commands read search paths from both CMake variables and from environment variables. Document how multiple values in these variables should be separated. Fixes: #16800
* Merge topic 'project-description'Brad King2017-04-131-0/+5
|\ | | | | | | | | | | | | 3b484871 project: Add `DESCRIPTION` parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !679
| * project: Add `DESCRIPTION` parameterAlex Turbov2017-04-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is quite often the project description has used in a real world software. Examples include: * part of a help screen of the application * builtin resources (`*.rc` files, data for "About" dialog of a GUI app, & etc) * most generators for CPack can use it * it could be used by documentary software (Doxygen, Sphinx) which is usually integrated to CMake based projects via `add_custom_target()` Now `project()` call learned an optional `DESCRIPTION` parameter with a short string describing a project. Being specified, it would set the `PROJECT_DESCRIPTION` variable which could be used in `configure_file()` or whatever user wants. Also `PROJECT_DESCRIPTION` is a default value for `CPACK_PACKAGE_DESCRIPTION_SUMMARY`.
* | Merge topic 'clarifyFileGenerateDocs'Brad King2017-04-101-0/+5
|\ \ | | | | | | | | | | | | | | | | | | d039f741 Help: Clarify file(GENERATE) only writes output file at generation phase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !681
| * | Help: Clarify file(GENERATE) only writes output file at generation phaseCraig Scott2017-04-101-0/+5
| | | | | | | | | | | | Closes: #16556
* | | include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>Beeble2017-04-051-0/+4
| |/ |/| | | | | | | This allows projects added via `include_external_msproject` to compile the preferred configuration despite different naming conventions.
* | Add support for x32-abiSteven Newbury2017-03-071-1/+9
| | | | | | | | | | | | | | | | Detect x32-abi through CMakeCompilerABI infrastruture and use this information at runtime to determine the correct library paths with `FIND_LIBRARY_USE_LIBX32_PATHS`. Fixes: #15994
* | find_library: Allow custom lib suffix be used as find pathChristian Schmidbauer2017-03-011-0/+7
|/ | | | | | | | | | Add a new `CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable to allow use of a custom suffix on `lib` directory names. This is a more general option than that added by commit v3.7.0-rc1~504^2 (Teach find_library and find_package to search lib32 paths, 2016-06-10). It allows the find path to be more deterministic on custom setups. See discussion in #10287 and #15994.
* execute_process: Restore no-decoding default behaviorBrad King2017-02-131-1/+1
| | | | | | | | | | | Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for Windows child process output, 2016-11-23) we decode child process output using the console's active codepage by default. This differs from previous versions of CMake and is therefore incompatible. Changing this default will require a policy, so for now revert the default behavior back to performing no decoding. Reported-by: Nils Gladitz <nilsgladitz@gmail.com>
* Help: Improve execute_process ENCODING option documentationBrad King2017-02-131-4/+15
| | | | Spell out the options in a definition list and document each one.
* 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
| |