summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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
| |/ /
* | | Merge topic 'update-documentation'Brad King2019-03-131-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | da2e588935 cmake: Upgrade 'cmake -E' commands description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3089
| * | | cmake: Upgrade 'cmake -E' commands descriptionBartosz Kosiorek2019-03-121-4/+12
| |/ / | | | | | | | | | Fixes: #13204
* | | Merge topic 'cuda_compiler_generator_expressions'Brad King2019-03-131-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b53766b205 CUDA: Support compiler id and version generator expressions b544e34af6 All VersionNode use the same capitalization pattern Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3085
| * | | CUDA: Support compiler id and version generator expressionsRobert Maynard2019-03-111-0/+12
| |/ / | | | | | | | | | | | | Introduce the CUDA_COMPILER_ID and CUDA_COMPILER_VERSION generator expressions.
* | | Merge topic 'shell_path'Brad King2019-03-121-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 463c2fba4e Genex: Teach SHELL_PATH to support a list of paths 21da25d2a8 Tests: Generalize GeneratorExpression MSYS path conversion workaround Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3057
| * | Genex: Teach SHELL_PATH to support a list of pathsHenri Manson2019-03-111-0/+5
| |/ | | | | | | | | | | | | Extend the genex added by commit ca6ba3fee5 (Genex: Add a SHELL_PATH expression, 2015-09-24, v3.4.0-rc1~37^2) to accept a `;`-list of paths, convert them all, and generate a list separated by the native shell `PATH``` separator.
* | Merge topic 'docs-xcode-schemes'Brad King2019-03-062-19/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d0cb912a28 Help: Remove note that Xcode scheme generator is experimental de850fe385 Help: Trivial typo fix for CMAKE_XCODE_GENERATE_SCHEME d61a5a20ef Help: Sort lists of (CMAKE_)XCODE_SCHEME_... variables and properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3066
| * | Help: Sort lists of (CMAKE_)XCODE_SCHEME_... variables and propertiesCraig Scott2019-03-062-19/+19
| | |
* | | Merge topic 'issue-18883-support-for-multiple-targets'Brad King2019-03-061-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 324d18bb34 cmake: Teach --build mode to support multiple targets ebc94500c1 cmGlobalGenerator: Optimize Printable() method from GeneratedMakeCommand fdeb364a84 cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct b3955a08ab cmakemain: Remove ignored --use-stderr option from command line help f1367c8c51 cmGlobalGenerator: Remove unused code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2939
| * | | cmake: Teach --build mode to support multiple targetsBartosz Kosiorek2019-03-051-2/+2
| | |/ | |/| | | | | | | Fixes: #16136
* | | Merge topic 'ios-docs'Brad King2019-03-061-1/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 376138fe0c Help: CMAKE_MACOSX_BUNDLE is ON for iOS/tvOS/watchOS f7d602b572 Help: Example of tweaking iOS/tvOS/watchOS build 4a9e2e4f35 Help: find_package with fat iOS libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3047
| * | | Help: Example of tweaking iOS/tvOS/watchOS buildRuslan Baratov2019-03-051-0/+48
| | | | | | | | | | | | | | | | | | | | CMAKE_OSX_ARCHITECTURES and CMAKE_OSX_DEPLOYMENT_TARGET variables can be used to tweak iOS/tvOS/watchOS build
| * | | Help: find_package with fat iOS librariesRuslan Baratov2019-03-051-1/+11
| | |/ | |/|
* | | Merge topic 'ios-variable'Brad King2019-03-061-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | e427c7c1d8 iOS: Add IOS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3051
| * | iOS: Add IOS variableRuslan Baratov2019-03-051-0/+1
| |/ | | | | | | | | | | | | Since commit 11da882a12 (Apple: Introduce separate system name for iOS, tvOS, and watchOS, 2018-01-15, v3.14.0-rc1~14^2~1) we support setting `CMAKE_SYSTEM_NAME` to `iOS`. Existing iOS toolchain files already set `IOS` as a short-hand variable, so do the same here.
| * Merge branch 'FindOctave-remove' into release-3.14Brad King2019-02-271-1/+0
| |\ | | | | | | | | | Merge-request: !3027