summaryrefslogtreecommitdiff
path: root/Auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* 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-171-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-171-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.
* ExternalProject: add LOG_OUTPUT_ON_FAILURE optionWouter Klouwen2018-12-211-0/+1
| | | | | | | | This option only has an effect if at least one of the other LOG_<step> options is enabled. If an error occurs for a step which has logging to file enabled, that step's output will be printed to the console. For cases where a large amount of output is recorded, just the end of that output may be printed to the console.
* ExternalProject: add LOG_PATCH option to log the patch commandWouter Klouwen2018-10-261-0/+1
| | | | | | Most steps support the logging into a file but the patch command is a notable exception. This commit adds the LOG_PATCH options that acts as the other LOG_* options.
* ExternalProject: option LOG_MERGED_STDOUTERR to combine stdout and stderrWouter Klouwen2018-10-191-0/+1
| | | | | | | | | | | | In some circumstances the user of ExternalProject may not desire the split log files for stdout and stderr. In particular with a project has many errors it can be difficult to correlate the output error with the command that it resulted from. This commit adds the LOG_MERGED_STDOUTERR option that when enabled outputs into a unified <name>-<step>.log for each step. If disabled it will default to the previous behaviour of <name>-<step>-out.log and <name>-<step>-err.log.
* ExternalProject: add LOG_DIR option that allows overriding of log locationWouter Klouwen2018-10-191-0/+1
| | | | | | | | | | | | In some situations it can be helpful to separate out the location of the log files from the location of the stamp files. For instance if you have a continuous integration that exposes the location where log files are stored. This commit adds an option that allows a user to override the default behaviour of putting the log files in STAMP_DIR called LOG_DIR. The previous behaviour of putting the log files into the STAMP_DIR applies if LOG_DIR is not specified.
* Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntaxBrad King2018-10-182-106/+2148
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2018-10-18 (64ff4bd7)
* Merge branch 'upstream-vim-cmake-syntax'Patrick Boettcher2018-10-102-44/+118
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2018-10-10 (ac1957fb)
* Help: Add CAPTURE_CMAKE_ERROR to ctest_submit and ctest_update documentationBetsy McPhail2018-08-281-3/+3
| | | | | Also, added CAPTURE_CMAKE_ERROR to vim synax file for ctest_submit, ctest_update and ctest_memcheck.
* cmake-mode.el: Fix "unescaped character literals" warningJeff Kowalski2018-07-091-1/+1
| | | | | | | | | | | Emacs 27.0 warns Loading ‘cmake-mode’: unescaped character literals `?(', `?)' detected! during byte-compilation of cmake-mode.el The new warning was added in emacs commit c2bbdc3316 (Warn about missing backslashes during load). Add backslashes to escape the literals.
* Various typo fixesLuz Paz2018-01-041-1/+1
| | | | Some are user-facing. Others are source comments.
* update vim-syntax to latest cmake-commitPatrick Boettcher2017-10-314-22/+33
|
* Merge topic 'curl_netrc_options'Brad King2017-10-191-2/+2
|\ | | | | | | | | | | | | | | | | | | | | d45aa38a Add dev notes for topic 'curl_netrc_options' 60c272b6 ExternalProject: Add support for NETRC and NETRC_FILE suboption 754e39dd Add testcases for file(DOWNLOAD|UPLOAD) netrc options 5d67e902 file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboption Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !1376
| * ExternalProject: Add support for NETRC and NETRC_FILE suboptionShane Parris2017-10-181-1/+1
| |
| * file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboptionShane Parris2017-10-181-1/+1
| |
* | cmake: Add --open option for IDE generatorsGregor Jasny2017-10-131-1/+1
|/
* VS: Add VS_SHADER_OUTPUT_HEADER_FILE and VS_SHADER_VARIABLE_NAME properties.Kevin M. Godby2017-09-271-1/+1
| | | | | | | | | | The VS_SHADER_OUTPUT_HEADER_FILE property is the name of the generated header file containing the object code of the shader. The VS_SHADER_VARIABLE_NAME property is the name of the variable containing the object code in the above header file. Signed-off-by: Kevin M. Godby <kevin@godby.org>
* Merge topic 'revert-vim-no-tabs'Brad King2017-09-181-1/+0
|\ | | | | | | | | | | | | | | 0d543589 vim: Remove default setting of expandtab Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Maurice <m-ou.se@m-ou.se> Merge-request: !1273
| * vim: Remove default setting of expandtabMaarten de Vries2017-09-181-1/+0
| | | | | | | | | | | | | | An update from vim-cmake-syntax by commit v3.9.0-rc1~167^2^2 (vim-cmake-syntax 2017-05-02, 2017-05-02) brought in a change to set `expandtab` in CMake language files. This should be a per-project or per-user choice instead, so drop the setting.
* | Merge branch 'upstream-vim-cmake-syntax'Patrick Boettcher2017-08-303-30/+68
| | | | | | | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2017-08-30 (40f5f4f3)
* | Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variableBetsy McPhail2017-07-101-2/+1
| | | | | | | | | | The specified LABELS will be passed down to subdirectories as well as any targets or tests in the directory.
* | Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variableBetsy McPhail2017-07-101-1/+1
| | | | | | | | | | Use this variable to specify a list of labels that will be reported to CDash as subprojects.
* | include_guard: add vim syntax highlighting rulesPavel Solodovnikov2017-06-221-1/+5
| |
* | cmake_host_system_information: Add more keywordsFlorian Maushart2017-06-051-1/+1
|/ | | | | Extend the `cmake_host_system_information()` command to add processor identification keywords.
* Merge branch 'upstream-vim-cmake-syntax'Patrick Boettcher2017-05-024-286/+201
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2017-05-02 (15526199)