summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'default-generator-env'Brad King2019-05-222-0/+7
|\ | | | | | | | | | | | | | | | | d0f0ba0f7a Tests: Add environment generator tests a48ce8f4bf Help: Add documentation for default generator environment variables 083cf7e8a2 cmake: Allow default generator to be set by environment variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3218
| * Help: Add documentation for default generator environment variablesEicke Herbertz2019-05-222-0/+7
| | | | | | | | | | | | | | | | | | | | Documentation for environment variables that control the default generator selection: * CMAKE_GENERATOR * CMAKE_GENERATOR_INSTANCE * CMAKE_GENERATOR_PLATFORM * CMAKE_GENERATOR_TOOLSET
* | find_package: Add option to prefer Config modeCristian Adam2019-05-211-0/+1
| | | | | | | | | | | | | | | | Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell `find_package` calls to look for a package configuration file first even if a find module is available. Fixes: #16805, #19236
* | Merge topic 'ninja-swift'Brad King2019-05-203-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9180ccf9a Tests: add a check for the Swift compiler d745551fb6 Help: add some initial documentation for Swift support 9a182c9e5b Auxiliary: update vim syntax highlighting e9b0063e8e Modules: add build rules for Swift Ninja support b6412e3e38 Ninja: add placeholders to support Swift build 7d7f31161d Ninja: add support for Swift's output-file-map.json d688c4c19d Swift: remove unnecessary unreleased Ninja infrastructure 0723582208 Swift: Detect compiler version ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3297
| * | Help: add some initial documentation for Swift supportSaleem Abdulrasool2019-05-163-0/+7
| | |
* | | Merge topic 'interface-library-export-properties'Brad King2019-05-201-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 73a829e078 InterfaceLibrary: Whitelist EXPORT_PROPERTIES property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3336
| * | | InterfaceLibrary: Whitelist EXPORT_PROPERTIES propertyBrad King2019-05-171-0/+1
| |/ / | | | | | | | | | Fixes: #19261
* | | Merge topic 'bracket-comment-doc-clarification'Craig Scott2019-05-181-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 124564504a Help: Clarify that bracket comments start with bracket open Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Ben McMorran <ben.mcmorran@gmail.com> Merge-request: !3331
| * | | Help: Clarify that bracket comments start with bracket openKyle Edwards2019-05-161-3/+3
| |/ / | | | | | | | | | Fixes: #19264
* | | Merge topic 'offer_compiler_lang_generator_expression'Brad King2019-05-171-10/+46
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | e214abdaab Genex: Add COMPILE_LANG_AND_ID generator expression f84ed796a2 Docs: Generator-expressions remove usage of `CMake-id` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3300
| * | Genex: Add COMPILE_LANG_AND_ID generator expressionRobert Maynard2019-05-141-0/+36
| | |
| * | Docs: Generator-expressions remove usage of `CMake-id`Robert Maynard2019-05-131-10/+10
| | |
* | | Merge topic 'msvc-jmc'Brad King2019-05-152-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2a9ff9703e MSVC: Add support for /JMC (Just My Code) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3121
| * | | MSVC: Add support for /JMC (Just My Code)Luca Cappa2019-05-142-0/+2
| | | |
* | | | Merge topic 'additional_clean_files'Brad King2019-05-151-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5bf369ec6 Release notes: Add release notes for ADDITIONAL_CLEAN_FILES properties 4e2ce0a67a Doc: Update and deprecate ADDITIONAL_MAKE_CLEAN_FILES directory property 338994d65d Doc: Add documentation for ADDITIONAL_CLEAN_FILES properties c11f089d73 Tests: Extend MakeClean test to cover ADDITIONAL_CLEAN_FILES 012d599e26 Ninja: Add support for ADDITIONAL_CLEAN_FILES target property 890a1b9dc3 Ninja: Add support for ADDITIONAL_CLEAN_FILES directory property 7b23001f20 Ninja: Add support for additional clean files d745df4b01 Makefiles: Add support for ADDITIONAL_CLEAN_FILES target property ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3318
| * | | | Doc: Add documentation for ADDITIONAL_CLEAN_FILES propertiesSebastian Holtermann2019-05-141-0/+2
| | |/ / | |/| |
* | | | FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z formatDennis Klein2019-05-131-0/+1
|/ / / | | | | | | | | | This aligns module mode behaviour with config mode.
* | | Merge topic 'ctest-update-version-override'Craig Scott2019-05-082-0/+15
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2a34d0ac36 ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE 7ddac95121 Help: cross-ref and wording of docs related to ctest_update() a0d04d8810 testing: Update terminology in ctest_update tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3277
| * | ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-072-0/+13
| | | | | | | | | | | | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
| * | Help: cross-ref and wording of docs related to ctest_update()Zack Galbreath2019-05-031-0/+2
| | | | | | | | | | | | Provide better motivation for users to click through to the CTest manual from the ctest_update command help page.
* | | 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