summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'jobs-positive-value'Brad King2019-05-031-0/+3
|\ | | | | | | | | | | | | 6ad699358b cmake: --build -j <jobs> should not accept 0. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3255
| * cmake: --build -j <jobs> should not accept 0.Fred Baksik2019-05-011-0/+3
| | | | | | | | Fixes #19059
* | Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIXMarc Chevrier2019-05-021-0/+23
| | | | | | | | | | This capability complement MR !3190 and !3207 and is also needed to solve issue #18771.
* | Merge topic 'message-new-types-and-logging'Craig Scott2019-04-301-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 599587feb1 message(): Minor code modernization 6cc93b370e message(): Add support for log levels 377d1b7896 cmSystemTools: Remove unused message-related code, simplify logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3268
| * | message(): Add support for log levelsAlex Turbov2019-04-281-0/+6
| |/ | | | | | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'relax_TARGET_OBJECT_generator_expr'Brad King2019-04-301-2/+1
|\ \ | | | | | | | | | | | | | | | | | | ce078dda79 Relax the usage of TARGET_OBJECTS generator expression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3178
| * | Relax the usage of TARGET_OBJECTS generator expressionRobert Maynard2019-04-191-2/+1
| | | | | | | | | | | | | | | The geneator expression can now be used with static, shared, and module libraries and executables.
* | | Merge topic 'server-deprecate'Brad King2019-04-301-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 996e1885c4 server: deprecate in favor of the file-api Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3251
| * | | server: deprecate in favor of the file-apiBrad King2019-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the server mode as deprecated. Add a deprecation message to the configure step output when invoked through server mode. Closes: #19101
* | | | Merge topic 'add-execute_process-command-echo'Brad King2019-04-301-0/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 044dcf9f8d execute_process: Add option to echo command lines d350fb6889 execute_process: Manage KWSys Process lifetime with unique_ptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3165
| * | | execute_process: Add option to echo command linesBill Hoffman2019-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add COMMAND_ECHO option to the execute_process command. This will allow execute_process to show the command it will run. Also add a cmake variable CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can be set to one of the following: STDERR|STDOUT|NONE. The command will be printed to stderr or stdout or not at all. Fixes: #18933
* | | | Merge topic 'msvc-warning-flags'Brad King2019-04-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1baf122cd4 MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3250
| * | | | MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by defaultBrad King2019-04-191-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not add default warning flags on other compilers, and having a warning flag in the default flags makes it hard for projects to customize the warning level. They need to use string processing to remove `/W3` from `CMAKE_{C,CXX}_FLAGS`. Therefore we should drop it. However, projects may be using string processing to replace `/W3` with another flag, so we cannot simply drop it. Add a policy to drop it in a compatible way. Fixes: #18317
* | | | Merge topic 'vs-default-platform'Brad King2019-04-221-0/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | db02be85a0 VS: Provide the default platform name to project code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3246
| * | | VS: Provide the default platform name to project codeBrad King2019-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio generators based on `CMAKE_GENERATOR_PLATFORM` or some default. Prior to the VS 2019 generator, the default was always `Win32`. However, for the `Visual Studio 16 2019` generator, the default is based on the host platform. Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for use by project code. This is particularly useful in toolchain files because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so `CMAKE_VS_PLATFORM_NAME` is not yet known. Of course the toolchain file author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that will be used. Fixes: #19177
| * | | Merge branch 'docs-xcode-schemes' into release-3.14Brad King2019-03-062-19/+19
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3066
| * \ \ \ Merge branch 'ios-docs' into release-3.14Brad King2019-03-051-1/+59
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3047
* | \ \ \ \ Merge topic 'msvc-runtime-library'Brad King2019-04-173-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3370b6a1 MSVC: Add abstraction for runtime library selection f621e7fa5d VS: Fix Fortran runtime library flag map special case for '-' options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3211
| * | | | | | MSVC: Add abstraction for runtime library selectionBrad King2019-04-173-0/+3
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108
* | | | | | Merge topic 'vs-project-import'Brad King2019-04-161-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d145d72e70 VS: add target property VS_PROJECT_IMPORT_<propspath> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3143
| * | | | | | VS: add target property VS_PROJECT_IMPORT_<propspath>Leonid Pospelov2019-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18998
* | | | | | | Genex: Rename $<TARGET_*_OUTPUT_NAME:...> in $<TARGET_*_FILE_BASE_NAME:...>Marc Chevrier2019-04-151-15/+40
| | | | | | |
* | | | | | | Genex: add $<TARGET_FILE_PREFIX:...> and $<TARGET_FILE_SUFFIX:...>Marc Chevrier2019-04-101-1/+22
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | These capabilities complement MR !3190 and is also needed to solve issue #18771.
* | | | | | Merge topic 'improve-formatting-of-help'Brad King2019-04-0911-94/+96
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb33befe2d Modules: Update documentation formatting 0e4fbb4a1f Help: Improve formatting of Help documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3199
| * | | | | | Modules: Update documentation formattingBartosz Kosiorek2019-04-081-4/+4
| | | | | | |
| * | | | | | Help: Improve formatting of Help documentationBartosz Kosiorek2019-04-0811-94/+96
| | | | | | |
* | | | | | | Genex: Add $<FILTER:list,INCLUDE|EXCLUDE,regex>Sebastian Lipponer2019-04-081-0/+2
| | | | | | |
* | | | | | | Help: Move entry to correct section in cmake-generator-expressions(7) manualSebastian Lipponer2019-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generator expression $<REMOVE_DUPLICATES:list> is string-valued, not boolean-valued.
* | | | | | | Genex: Add capability to retrieve base name for various target artifactsMarc Chevrier2019-04-081-0/+19
|/ / / / / / | | | | | | | | | | | | | | | | | | This new capability is required to solve efficiently issue #18771
* | | | | | Merge topic 'pr.projectbefore'Brad King2019-04-041-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0761186949 project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3175
| * | | | | | project: Add variable CMAKE_PROJECT_INCLUDE_BEFORERuslan Baratov2019-04-011-0/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'remove_duplicates'Brad King2019-04-041-1/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abbb8a7b1d Genex: Add $<REMOVE_DUPLICATES:list> 11338389e5 Help: Fix description in cmake-generator-expressions(7) manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3154
| * | | | | Genex: Add $<REMOVE_DUPLICATES:list>Sebastian Lipponer2019-04-011-0/+2
| | | | | |
| * | | | | Help: Fix description in cmake-generator-expressions(7) manualSebastian Lipponer2019-04-011-1/+1
| |/ / / /
* | | | | project: Add variable CMAKE_PROJECT_INCLUDERuslan Baratov2019-03-271-0/+1
|/ / / /
* | | | Merge topic 'xcodescheme2'Brad King2019-03-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 413b71485a Xcode: Create Xcode schemes per target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3098
| * | | | Xcode: Create Xcode schemes per targetHarry Mallon2019-03-211-0/+1
| | | | |
* | | | | Merge topic 'cmake--install'Kyle Edwards2019-03-191-2/+40
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f23d1e00 cmake: add '--install <dir>' option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Bartosz <gang65@poczta.onet.pl> Acked-by: Cristian Adam <cristian.adam@gmail.com> Rejected-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3069
| * | | | | cmake: add '--install <dir>' optionJiang Yi2019-03-161-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19023
* | | | | | Merge topic 'improve-tar-command'Kyle Edwards2019-03-191-0/+15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8634576dcb cmake: Don't interrupt archive creation if unable to read a file. c7c6a4a2cc Help: Update 'tar' documentation with supported arguments 7c47fd8cd1 cmake: tar: Display warning when no files provided during archive creation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3080
| * | | | | Help: Update 'tar' documentation with supported argumentsBartosz Kosiorek2019-03-181-0/+15
| | | | | |
* | | | | | Merge topic 'environment-modules'Brad King2019-03-191-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfea916d3c FindEnvModules: Provide a CMake interface to environment modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3076
| * | | | | FindEnvModules: Provide a CMake interface to environment modulesChuck Atkins2019-03-181-0/+1
| |/ / / /
* | | | | Merge topic 'export-package-default-off'Brad King2019-03-153-6/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-153-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
* | | | | | Merge topic 'xcodescheme'Brad King2019-03-141-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40be48f890 XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3084
| * | | | | | XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOTHarry Mallon2019-03-111-0/+1
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'short-commands'Brad King2019-03-141-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 077ab5774c cmake: add short version of '--target <tgt>...' option 071f5e1544 cmake: Reformat '--parallel' and '--verbose' options in help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3078
| * | | | | | cmake: add short version of '--target <tgt>...' optionBartosz Kosiorek2019-03-121-1/+1
| | | | | | |
| * | | | | | cmake: Reformat '--parallel' and '--verbose' options in helpBartosz Kosiorek2019-03-121-2/+2
| |/ / / / /