summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge topic 'findiconv-module'Brad King2017-11-303-0/+6
|\ \ | | | | | | | | | | | | | | | | | | 95646591 FindIconv: Add the FindIconv module. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1530
| * | FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-293-0/+6
| | | | | | | | | | | | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* | | Merge topic 'CodeBlocks-custom-compiler-id'Brad King2017-11-293-0/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e04f1d1b CodeBlocks: add option for the CB compiler ID Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1512
| * | | CodeBlocks: add option for the CB compiler IDMelven Roehrig-Zoellner2017-11-273-0/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | CodeBlocks uses his own compiler ID string which may differ from CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large number of different compiler configurations (with different IDs) This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID", so the user might adjust it when needed.
* | | Merge topic 'CheckIncludeFiles-language-CXX'Brad King2017-11-291-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b31d5e1d CheckIncludeFiles: improve warning for missing argument 1f1c2a9f CheckIncludeFiles: clean up documentation of new features c8609992 Help: Add notes for topic 'CheckIncludeFiles-language-CXX' ea1bb902 CheckIncludeFiles: add unit tests 7669695a CheckIncludeFiles: extend to allow a LANGUAGE argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1464
| * | | Help: Add notes for topic 'CheckIncludeFiles-language-CXX'Brad King2017-11-141-0/+6
| | | |
* | | | Merge topic 'fortran-compiler-launcher'Brad King2017-11-293-2/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f19c70c3 Fortran: Add option to run the compiler through launcher tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1517
| * | | | Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-213-2/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* | | | Merge topic 'extend-compile-language-genex'Brad King2017-11-272-5/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ae880fa Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual Studio 2b7d59f3 Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual Studio 0f6f7c8a Genex: Fix COMPILE_LANGUAGE messages to allow file(GENERATE) with Xcode c5a82d0f Tests: Decouple COMPILE_LANGUAGE in file(GENERATE) from COMPILE_OPTIONS 25773650 Tests: Remove unnecessary result files from RunCMake.File_Generate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !1511
| * | | | Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual StudioBrad King2017-11-202-5/+14
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc4~3^2~1 (VS: Fix target_compile_options for CUDA, 2017-06-21), the evaluation of `COMPILE_LANGUAGE` receives the proper language. 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_OPTIONS` to match the selected language. This is not exactly the same as for other generators, but is the best VS can do. It is also sufficient for many use cases since the set of allowed flags for C and C++ is almost the same in Visual Studio. Furthermore, since the VS generator moves many of the flags to declarative `.vcxproj` elements, it will automatically avoid passing C++ flags for C sources. Issue: #17435
* | | | Merge topic 'server-target-isGeneratorProvided'Brad King2017-11-271-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afd9a339 server: return whether or not a target is generator provided Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1475
| * | | | server: return whether or not a target is generator providedJustin Goshi2017-11-201-0/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | Some generators auto-generate targets. For example VS generators create the ALL_BUILD target. Add the ability to mark targets as generator provided and return that info through cmake-server codemodel.
* | | | Merge topic 'serverFixTestDiscovery'Brad King2017-11-271-18/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe2c2b0f server: ctestInfo fix to return all tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1479
| * | | | server: ctestInfo fix to return all testsJustin Goshi2017-11-171-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change we were looking at targets. But tests are associated with directories. This change fixes how we gather all tests.
* | | | | Merge topic 'WriteBasicConfigVersionFile_SameMinorVersion'Craig Scott2017-11-221-0/+5
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d18ff3a5 WriteBasicConfigVersionFile: Fix messages in ExactVersion tests 16a93de0 WriteBasicConfigVersionFile: Add SameMinorVersion COMPATIBILITY option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Claudio <claudio.fantacci@gmail.com> Merge-request: !1507
| * | | | WriteBasicConfigVersionFile: Add SameMinorVersion COMPATIBILITY optionDaniele E. Domenichelli2017-11-211-0/+5
| | |/ / | |/| |
* | | | Merge topic 'cuda-sep-comp-var'Brad King2017-11-204-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
| * | | | CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-174-0/+17
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
* | | | Merge topic 'FindOpenGL-glvnd-policy'Brad King2017-11-203-0/+39
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ea17412 FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GL Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !1491
| * | | | FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GLBrad King2017-11-173-0/+39
| |/ / / | | | | | | | | | | | | Fixes: #17449
* | | | Help: Fix cross-reference in COMPILE_FLAGS target property docsCraig Scott2017-11-191-1/+1
| |/ / |/| |
* | | Find{BLAS,LAPACK}: Add support for FLAME blis and libflameJ M Dieterich2017-11-161-0/+5
|/ / | | | | | | | | | | | | FLAME (github.com/flame) provides a variety of numerical libraries. `blis` and `libflame` can be setup to expose BLAS/LAPACK interfaces. Fixes: #17470
* | Merge topic 'update-ctest-documentation'Brad King2017-11-101-117/+163
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b272ff8 Help: Add 'Label and Subproject Summary' section to ctest(1) manual 002d0a1c Help: Normalize capitalization of 'CTest' in ctest(1) manual 9d3aa95c Help: Divide ctest(1) manual options into sections 7904b659 Tests: Remove incorrect use of 'test-timeout' option e80dc2ad cmCTest: Remove dead code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1427
| * | Help: Add 'Label and Subproject Summary' section to ctest(1) manualBetsy McPhail2017-11-101-1/+27
| | |
| * | Help: Normalize capitalization of 'CTest' in ctest(1) manualBetsy McPhail2017-11-101-24/+24
| | |
| * | Help: Divide ctest(1) manual options into sectionsBetsy McPhail2017-11-101-87/+114
| | |
| * | cmCTest: Remove dead codeBetsy McPhail2017-11-071-7/+0
| |/ | | | | | | The option 'ctest-config' is ignored.
* | Merge topic 'cmakeServerRequiredCMakeVersion'Brad King2017-11-101-0/+3
|\ \ | | | | | | | | | | | | | | | | | | cdf5f34b server: return minimum cmake required version for each project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1462
| * | server: return minimum cmake required version for each projectJustin Goshi2017-11-071-0/+3
| |/
* | CPack: enable setting default dir creation permissionsDomen Vrankar2017-11-083-0/+17
| | | | | | | | | | | | | | | | | | | | | | Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which adds support for functionality introduced by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable. Fixes #17333 # Conflicts: # Help/release/dev/cmake-default-dir-install-permissions.rst
* | CMake: enable setting default dir creation permissionsDomen Vrankar2017-11-083-0/+37
| | | | | | | | | | | | | | | | | | Introduces CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which enables the user to specify the default permissions for directory creation. This setting is then used to auto set the permissions on directories which are implicitly created by install() and file(INSTALL) commands such as CMAKE_INSTALL_PREFIX directories.
* | Merge topic 'imported-promotion'Brad King2017-11-083-0/+38
|\ \ | |/ |/| | | | | | | | | | | 6a3922be Add new target-property `IMPORTED_GLOBAL`. 854e482a cmTarget: Simplified and fixed a string-comparision. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1254
| * Add new target-property `IMPORTED_GLOBAL`.Deniz Bahadir2017-11-073-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong the lifetime and scope of `IMPORTED` targets in such a way as if they had been created with the keyword `GLOBAL` in the first place. * It can only be set to `TRUE`. That means, a local `IMPORTED` target can be promoted to global scope but a global `IMPORTED` target cannot be degraded to local scope! * Setting it to `TRUE` only succeeds if done from within the same directory in which the `IMPORTED` target was created in the first place. Fixes #17256.
* | Merge topic 'server-test-info'Brad King2017-11-071-0/+73
|\ \ | | | | | | | | | | | | | | | | | | 35a52bd1 server: add "ctestInfo" request to get test info Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1414
| * | server: add "ctestInfo" request to get test infoJustin Goshi2017-11-031-0/+73
| | |
* | | Fix trivial typos in textluzpaz2017-11-038-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* | | Merge topic 'cross_link_CheckLanguage_enable_language'Craig Scott2017-11-021-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e2601534 Help: enable_language now documents the CheckLanguage module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1434
| * | | Help: enable_language now documents the CheckLanguage moduleRobert Maynard2017-10-311-1/+2
| | | | | | | | | | | | | | | | Resolves #17409
| * | | Merge branch 'cmp0040-wording' into release-3.10Brad King2017-10-261-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !1415
| * \ \ \ Merge branch 'help_parse_arguments' into release-3.10Brad King2017-10-231-10/+13
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1397
| * \ \ \ \ Merge branch 'doc-cxx-std-msvc' into release-3.10Brad King2017-10-232-2/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1401
* | \ \ \ \ \ Merge topic 'deprecate-policy-old'Brad King2017-11-021-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0ec14d3 Add deprecation warnings for policies CMP0054 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1438
| * | | | | | | Add deprecation warnings for policies CMP0054 and belowBrad King2017-11-011-0/+8
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.