summaryrefslogtreecommitdiffstats
path: root/Auxiliary
Commit message (Collapse)AuthorAgeFilesLines
...
* | color: Introduce CMAKE_COLOR_DIAGNOSTICS variableSemyon Kolton2022-03-081-0/+1
|/ | | | | | | Add a variable to control both makefile color messages and compiler color diagnostics. Fixes: #15502
* VS: Add property to turn off Visual Studio compile batchingKaloyan Donev2022-02-081-0/+1
| | | | Resolves: #23179
* ExternalProject: Add support for USES_TERMINAL_PATCH keywordCraig Scott2022-02-031-0/+1
| | | | | | | This brings the patch step into line with all the others which already had their own `USES_TERMINAL_<step>` keyword. All steps (including patch) already have their own `LOG_<step>` keyword too, so the lack of `USES_TERMINAL_PATCH` was inconsistent.
* VS: Add DOTNET_SDK property to generate SDK-style C# projectsSumit Bhardwaj2021-12-211-0/+2
| | | | | | | | Changes in cmVisualStudio10TargetGenerator::Generate to write .Net SDK-style project for VS generators VS 19 and above. Also adds documentation and tests. Issue: #20227
* GHS: GHSMULTI - Update documentation to match implementationFred Baksik2021-11-151-1/+1
| | | | * The variable being set was named `GHSMULTI` not `GHS-MULTI`.
* Xcode: Support "GPU Frame Capture" scheme propertyJake Turner2021-10-191-0/+2
| | | | | | | | | | | Added XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE variable which sets the scheme property value for "GPU Frame Capture" in the Options section by setting the Xcode project variable "enableGPUFrameCaptureMode". Example values are "Metal" (1) and "Disabled" (3). XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE is initialized by the property CMAKE_XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE. Implements: #22700
* Merge topic 'lcc-compiler'Brad King2021-10-191-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 02b2607a5c Help: Add release note for MCST LCC compiler support e5d9fce03f LCC: Add dedicated support for MCST LCC compiler 2b9ef77944 CPack/DEB: deal with broken dpkg-shlibdeps on E2K architecture 0995c75301 Tests/RPM: skip tests tat rely on debugedit if it's not found ea55ac9a51 Tests/RunCMake/CommandLine: Deal with locales that are different from English Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6608
| * LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* | CTest: Add CTEST_SUBMIT_INACTIVITY_TIMEOUT variableNikhil Reddy Ramolla2021-10-141-0/+1
|/ | | | Fixes: #22617
* Merge topic 'ctest-environment-modifications'Brad King2021-07-131-0/+1
|\ | | | | | | | | | | | | | | de4f1f26b0 CTest: add an ENVIRONMENT_MODIFICATION property 4c757fa3c8 Help/prop_test/ENVIRONMENT: clarify the scope of the changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6299
| * CTest: add an ENVIRONMENT_MODIFICATION propertyBen Boeckel2021-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This property allows projects to modify environment variables at test time rather than trying to guess what the state should be based on what is present at configure time. Of particular interest is the ability to use a `PATH` present at test time while adding entries known to be necessary for the test itself. There are multiple operations provided to modify variables, including: - setting and unsetting - appending and prepending as: - strings - path lists - CMake lists Additionally, a `reset` action is provided to cancel any prior modifications to that particular variable in the case of incremental additions to the test property.
* | find_package: Add variable to make package REQUIREDEugene Shalygin2021-07-081-0/+1
|/ | | | | | | | | | | | | | Add a `CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>` variable is complement to `CMAKE_DISABLE_FIND_PACKAGE_<PackageName>` with just the opposite behaviour: it turns non-required find_package call into the required one. While optional package dependencies usually result in simple and clean build logic, sometimes people want to be sure those optional dependencies will be found and used. Examples are reproducible builds and build instructions for 3rd parties. People choose to make find_package calls REQUIRED and put them behind an option(). Such workarounds blend build logic with build environment management and do not look elegant.
* Launchers: Support setting linker launchersBobby D Reynolds2021-05-281-0/+4
| | | | Fixes: #18316
* Auxiliary: Fix typos and spelling in commentsJosef Angstenberger2021-05-073-3/+3
|
* Help: Document the AUTOUIC_SOURCE_GROUP propertyDuncan Barber2021-04-041-0/+1
| | | | This property came into existence with the changes in b4a103bdecc437d37580d0ab540f6014006d661c because generated files are now being added for UIC.
* vim: Add missing keyword URL_MD5Eisuke Kawashima2021-01-171-0/+1
|
* cmake-mode.el: Fix rx usage for Emacs 26marciosmiderle2021-01-041-1/+1
| | | | | | The change in commit 901386f646 (cmake-mode.el: Add navigation by function and macro, 2020-12-11) introduced a regression. Emacs 26 could not load cmake-mode.el anymore. Use `(not-char ")")`, not `(not ")")`.
* cmake-mode.el: Require the rx packageJoerg Bornemann2020-12-161-0/+1
| | | | | | | We're using rx in cmake-mode.el. Technically, we don't have to load the package, because it's already loaded at startup. But it's good style to explicitly require the packages we use, if only to give a quick overview of the package dependencies.
* cmake-mode.el: Add navigation by function and macroJoerg Bornemann2020-12-111-0/+61
| | | | | | | | | Add the functions cmake-beginning-of-defun and cmake-end-of-defun that jump to the beginning/end of the nearest function or macro. Add the function cmake-mark-defun that marks the current function. Bind those functions to the usual keys in cmake-mode-map.
* cmake-mode.el: Improve help display with reStructuredText modecondy2020-12-081-10/+31
| | | | | Many of the `cmake --help-*` options print `.rst` source documents with only partial evaluation. View them in the Emacs `rst-mode`.
* cmake.el: enable view-mode when lookupcondy2020-11-181-1/+2
|
* clang-tidy: allow OBJC and OBJCXXAndrew Fuller2020-11-051-0/+2
|
* Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntaxBrad King2020-10-282-16/+758
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2020-10-28 (bcc3a97a)
* ISPC: Support ISPC header generation byproducts and parallel buildsRobert Maynard2020-08-281-0/+1
|
* Auxiliary: Add options to control Vim and Emacs file installationBrad King2020-07-212-8/+25
| | | | | | | | | | | | Since commit 2642f432ef (Aux: Install editor and bash files to more natural locations, 2020-03-30, v3.18.0-rc1~429^2) these files are installed by default into locations that are not CMake-specific but may be distro-specific. Add options for packagers to control these locations. Also rename the `CMAKE_BASH_COMP_DIR` option to follow our conventions. Fixes: #20993
* Fortran: Add Fortran_PREPROCESS propertyPeter Hill2020-05-211-0/+2
| | | | Issue: #18870
* Aux: Install editor and bash files to more natural locationsEli Schwartz2020-03-312-10/+18
| | | | | | | | | The vim, emacs, and bash support files are not internal CMake resources and so do not belong under `CMAKE_DATA_DIR`. Move them over to proper places under the `CMAKE_XDGDATA_DIR` as we do already for cmake-gui desktop files and `cmake.m4`. Fixes: #20522
* Ninja: Add a separate job pool for PCH creationDan Johnston2020-01-161-0/+2
| | | | | | | Add a `JOB_POOL_PRECOMPILE_HEADER` target property to specify the pool name, and its associated `CMAKE_JOB_POOL_PRECOMPILE_HEADER` variable. Fixes: #20217
* vim: Add target_precompile_headers command highlightingDan Johnston2020-01-161-0/+7
|
* CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-0/+2
|
* bash-completion: silent cmake -D lookupFelix Schwitzer2019-08-161-2/+2
| | | | | The completion for -D tries to read the cache via 'cmake -LA -N', but this prints a warning. Silent the lookup by redirecting this warning to null.
* Vim: Add SKIP_REGULAR_EXPRESSION test property to vim syntax fileGabor Bencze2019-07-181-0/+2
|
* Merge topic 'eclipse-resource-encoding'Brad King2019-07-111-0/+1
|\ | | | | | | | | | | | | 09c1991895 Eclipse: Add option to set the resource encoding Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3525
| * Eclipse: Add option to set the resource encodingMartin Gerhardy2019-07-091-0/+1
| |
* | Merge topic 'emacs/drop-23'Brad King2019-07-101-7/+3
|\ \ | | | | | | | | | | | | | | | | | | 8e1664d108 cmake-mode.el: Drop support for Emacs < 24 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3520
| * | cmake-mode.el: Drop support for Emacs < 24Hong Xu2019-07-091-7/+3
| |/ | | | | | | | | | | | | | | | | | | The `cmake--parent-mode` alias exists only for compatibility and breaks Emacs packages and scripts that make use of `prog-mode-hook` because Emacs does not examine whether the parent mode is an alias or not. Remove the alias and require Emacs 24 or higher. Emacs 24 was released in 2012 and this is already 2019, thus the loss to drop support for versions < 24 is negligible.
* | vim: Update cmake.vim to include the CMAKE_FIND_USE variablesRobert Maynard2019-07-091-0/+6
|/
* Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntaxPatrick Boettcher2019-05-293-52/+848
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2019-05-29 (c42ede9f)
* Merge topic 'ninja-swift'Brad King2019-05-201-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Auxiliary: update vim syntax highlightingSaleem Abdulrasool2019-05-161-0/+6
| | | | | | | | Add new Swift keywords to the highlighting rules.
* | Genex: Add COMPILE_LANG_AND_ID generator expressionRobert Maynard2019-05-141-0/+1
|/
* message(): Add support for log levelsAlex Turbov2019-04-281-0/+3
| | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* 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-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | Fixes: #19023
* | XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOTHarry Mallon2019-03-111-0/+1
|/
* Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-211-1/+1
| | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* Fortran: Add compiler ID/Version generator expressionsAndrew Paprocki2019-01-181-0/+2
| | | | | | | | | | | | Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator expression support to match equivalent `C_COMPILER_ID`, `CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION` support. This is very helpful in the case where the C/C++ compiler suite is a different type of compiler from the platform Fortran compiler and projects use generator expressions to assign compiler flags and definitions. (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
* Help: fix typo for CTEST_CUSTOM_TESTS_IGNOREBen Boeckel2019-01-021-1/+1
| | | | | | In commit v3.4.0-rc1~57^2 (Help: document CTEST_CUSTOM_* variables, 2015-09-17), the CTEST_CUSTOM_TESTS_IGNORE variable was documented with a typo.