summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-documentation'Brad King2018-01-171-2/+4
|\ | | | | | | | | | | | | 60216e15 Help: Improved MAIN_DEPENDENCY documentation of add_custom_command() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1665
| * Help: Improved MAIN_DEPENDENCY documentation of add_custom_command()Christoph Ruediger2018-01-161-2/+4
| |
* | Merge topic 'extend-compile-language-genex'Brad King2018-01-162-25/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 506fda1c Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode c2f79c98 Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode 0795d25b cmVisualStudio10TargetGenerator: Factor out include dir computation 1ab4d186 cmLocalVisualStudio7Generator: Clarify variable name of compiled language 07e1a743 cmLocalVisualStudio7Generator: Clarify condition for target that compiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1657
| * | Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and XcodeBrad King2018-01-122-22/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `INCLUDE_DIRECTORIES` to match the selected language. This is not exactly the same as for other generators, but is the best VS and Xcode can do. It is also sufficient for many use cases since the set of include directories for C and C++ is frequently similar but may be distinct from those for other languages like CUDA. Fixes: #17435
| * | Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and XcodeBrad King2018-01-122-15/+26
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `COMPILE_DEFINITIONS` to match the selected language. This is not exactly the same as for other generators, but is the best VS and Xcode can do. It is also sufficient for many use cases since the set of definitions for C and C++ is frequently similar but may be distinct from those for other languages like CUDA. Issue: #17435
* | Merge topic 'CheckIncludeFile-required-libs'Brad King2018-01-161-0/+11
|\ \ | |/ |/| | | | | | | | | f74c2580 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1620
| * CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIESDon Hinton2018-01-101-0/+11
| | | | | | | | | | | | | | | | This is needed when cross compiling and the compiler requires a specific linker different from the default, e.g., when cross compiling from Darwin to Linux and passing `-fuse-ld=lld` to clang. Fixes: #9514
* | Merge topic 'misc-typos'Brad King2018-01-111-1/+1
|\ \ | | | | | | | | | | | | | | | | | | d91b2d91 MAINT: Misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1654
| * | MAINT: Misc. typosluz.paz2018-01-101-1/+1
| | | | | | | | | Found via `codespell`
* | | Merge topic 'doc-fixes'Brad King2018-01-111-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | da3a329a Linkify target_link_libraries in DEBUG_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1649
| * | | Linkify target_link_libraries in DEBUG_CONFIGURATIONSPaul "TBBle" Hampson2018-01-101-4/+3
| | | |
* | | | Merge topic 'doc-install-arg-order'Brad King2018-01-111-1/+15
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | f09fda97 Help: improve install() documentation of argument ordering Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1641
| * | | Help: improve install() documentation of argument orderingKyle Edwards2018-01-081-1/+15
| | | | | | | | | | | | | | | | Fixes #16362.
* | | | Merge topic 'unhardcode-configuration-types'Brad King2018-01-1019-66/+53
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1f4d7a07 Help: Add references and backticks in LINK_FLAGS prop_tgt 48f7e2d3 Unhardcode the CMAKE_CONFIGURATION_TYPES values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1345
| * | | Help: Add references and backticks in LINK_FLAGS prop_tgtBeren Minor2018-01-081-2/+3
| | | |
| * | | Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-0819-65/+51
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
* | | Merge topic 'COMPILE_FLAGS-clarify-sf-prop-documentation'Brad King2018-01-091-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 118815f0 COMPILE_FLAGS: do not imply that the property is a list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1640
| * | | COMPILE_FLAGS: do not imply that the property is a listBen Boeckel2018-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The "added to the list" language hinted that the property was interpreted as a CMake list, but this is not correct. It is just a string.
* | | | Merge topic 'doc-CMAKE_SYSTEM_NAME-mode'Brad King2018-01-091-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edebf6f3 Help: note that CMAKE_SYSTEM_NAME is not set in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1639
| * | | | Help: note that CMAKE_SYSTEM_NAME is not set in script modeKyle Edwards2018-01-081-0/+3
| | |_|/ | |/| | | | | | | | | | Fixes #17109.
* | | | Merge topic 'doc-OUTPUT_NAME-clarify'Brad King2018-01-091-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c5d3989 Help: fix documentation for OUTPUT_NAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1638
| * | | | Help: fix documentation for OUTPUT_NAMEKyle Edwards2018-01-081-1/+2
| |/ / / | | | | | | | | | | | | Fixes #17177.
* | | | Merge topic 'improve_generated_property_docs'Craig Scott2018-01-091-4/+19
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 11615b29 GENERATED: Improve the documentation of the GENERATED file property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1630
| * | | GENERATED: Improve the documentation of the GENERATED file propertyRobert Maynard2018-01-081-4/+19
| |/ /
* | | Merge topic 'execute_process_UTF8_keyword'Brad King2018-01-081-2/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 8caec41e execute_process: Allow UTF-8 as a synonym for the UTF8 keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1623
| * | execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-271-2/+4
| |/ | | | | | | | | | | | | | | UTF-8 is the proper naming according to the UTF-8 RFC and is also the name used for a similar keyword in the file() command. This commit brings (backward compatible) consistency to the keyword names and allows the standard UTF-8 name to be used with execute_process(). The old UTF8 keyword is still supported.
* | Merge topic '17431-iphone-deployment-target'Brad King2018-01-083-5/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-223-5/+21
| |/ | | | | | | Closes: #17431
* | Merge topic 'various-typos'Craig Scott2018-01-046-6/+6
|\ \ | | | | | | | | | | | | | | | | | | 3ab7bf82 Various typo fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1626
| * | Various typo fixesLuz Paz2018-01-036-6/+6
| |/ | | | | | | Some are user-facing. Others are source comments.
* | FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote preventionCraig Scott2018-01-021-0/+8
|/ | | | | Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any automatic quoting applied to it when written to the Doxyfile.
* Merge topic 'cpackifw-package-remove-target-dir'Brad King2017-12-211-0/+6
|\ | | | | | | | | | | | | 739ae1d0 CPack/IFW: Add option to control deletion of the install directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1591
| * CPack/IFW: Add option to control deletion of the install directoryJean-Philippe Lebel2017-12-151-0/+6
| | | | | | | | | | | | Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable.
* | CTest: Expand 'Label and Subproject Summary' section of manualBetsy McPhail2017-12-151-3/+31
|/
* Merge topic 'cpack-rpm-check-executable-flags'Brad King2017-12-071-0/+6
|\ | | | | | | | | | | | | a2031d3a CPack/RPM: check executable flags for debuginfo packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1565
| * CPack/RPM: check executable flags for debuginfo packagesDomen Vrankar2017-12-061-0/+6
| | | | | | | | | | Debuginfo packages can not be created from programs and shared libraries that do not have execute permissions.
* | Merge topic 'externalproject_download_dir'Brad King2017-12-071-0/+5
|\ \ | | | | | | | | | | | | | | | | | | b8b87489 ExternalProject: Support substituting <DOWNLOAD_DIR> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1537
| * | ExternalProject: Support substituting <DOWNLOAD_DIR>Craig Scott2017-12-061-0/+5
| | |
* | | Merge branch 'backport-revert-server-target-backtraces' into ↵Brad King2017-12-062-41/+13
|\ \ \ | | | | | | | | | | | | revert-server-target-backtraces
| * | | server: Revert "Report backtraces in codemodel response"Brad King2017-12-062-41/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backtrace information is very repetitive and hugely increases the size of the codemodel object. We need to remove it until an alternative representation can be developed. Revert commit v3.10.0-rc1~393^2 (server: Report backtraces in codemodel response, 2017-06-20), except for the protocol version number (because it indicates other new things). Unfortunately this is incompatible with clients that expect the "crossReferences" field in targets. However, the regression in memory usage is quite serious, especially on large projects, and therefore breaks even older clients that do not use backtraces. Since the "crossReferences" field was only provided by one release (3.10.0), it is simplest to revert it outright for 3.10.1. Fixes: #17502
* | | | server: drop "ctestInfo" backtrace informationBrad King2017-12-061-11/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Backtrace information was included by commit 35a52bd1b4 (server: add "ctestInfo" request to get test info, 2017-10-25) to match that already provided for targets. However, the backtrace representation uses too much memory and needs to be dropped. Remove it from test information. Issue: #17502
* | | Merge topic 'doc-lang-order'Brad King2017-12-062-2/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6ecd8b60 Help: Document that ASM should be enabled last Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1560
| * | | Help: Document that ASM should be enabled lastBrad King2017-12-062-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ASM should be enabled after C and/or CXX because we consider the compilers for those languages as possible assemblers. Issue: #17532
* | | | Add generator expression support to per-source COMPILE_DEFINITIONSMarc Chevrier2017-12-052-0/+15
|/ / / | | | | | | | | | | | | | | | This allows users to specify different genex-based compile definitions for each file in a target. Fixes: #17508
* | | Merge topic 'add_library-mention-xcode-objlib-behavior'Brad King2017-12-041-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c40ab26 add_library: mention that Xcode requires a real source file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tom Hughes <tomtheengineer@gmail.com> Merge-request: !1549
| * | | add_library: mention that Xcode requires a real source fileBen Boeckel2017-12-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs mentioned that it happened, but not when. Mention Xcode since it is the culprit today. See #16524.
* | | | Merge topic 'cmake-job-pool'Brad King2017-12-044-0/+17
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 07185055 Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1514
| * | | Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLSMatt McCormick2017-11-294-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables configuration of build parallelism with the Ninja generator by passing arguments on the command line to CMake. For example, cmake \ '-DCMAKE_JOB_POOLS:STRING=compile=5;link=2' \ -DCMAKE_JOB_POOL_COMPILE:STRING=compile \ -DCMAKE_JOB_POOL_LINK:STRING=link \ ~/src/MyProject
* | | | Merge topic 'whitelist-more-interface-properties'Brad King2017-11-301-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3c5bfd cmTargetPropertyComputer: whitelist custom properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1515
| * | | | cmTargetPropertyComputer: whitelist custom propertiesBen Boeckel2017-11-211-0/+7
| |/ / / | | | | | | | | | | | | | | | | CMake's properties will never begin with an underscore or a lowercase letter, so allow them to be set by projects.