summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'trace_json_timestamp'Brad King2020-01-241-3/+11
|\ | | | | | | | | | | | | | | c829f0cfca trace: Add time and stack level to JSON output format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Volo Zyko <volo.zyko@gmail.com> Merge-request: !4242
| * trace: Add time and stack level to JSON output formatFrank Winklmeier2020-01-221-3/+11
| | | | | | | | | | | | | | | | Add the timestamp and stack depth of the function call to the JSON trace output format. This information can be useful for cmake profiling and call stack inspection (see e.g. https://github.com/volo-zyko/cmake-profile-stats). Improve unit test to allow for varying set of keys to check in trace lines.
* | Ninja Multi-Config: Add variable to control aliases in build.ninjaKyle Edwards2020-01-221-0/+1
| |
* | Merge topic 'mark_as_advanced-without-cache'Brad King2020-01-221-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 3ec82b713e cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache 701a5c60e0 cmake: avoid marking local or unused variables as advanced af158149e7 FindOpenSSL: do not mark a local variable as advanced 74f659f1f2 FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used 7e2ae4e96d FindOpenGL: only mark declared cache variables as advanced 7cc02a0c29 FindLua: only mark LUA_MATH_LIBRARY as advanced if required 85cd26b8a6 FindBoost: only mark Boost_DIR as advanced if defined 338c7916ba CTest: avoid marking undeclared cache variables as advanced ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4150
| * cmMarkAsAdvancedCommand: ignore variables which don't exist in the cacheBen Boeckel2020-01-201-0/+1
| | | | | | | | Fixes: #18331
* | Merge topic 'cmake-ctest-arguments'Brad King2020-01-171-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 4153d8445b Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4168
| * | Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctestRobert Goulet2020-01-151-0/+1
| |/ | | | | | | Fixes: #20172
* | Merge topic 'rename-cross-config-variable'Brad King2020-01-171-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 310b58e961 Ninja Multi-Config: Rename variable to be more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4234
| * | Ninja Multi-Config: Rename variable to be more consistentKyle Edwards2020-01-161-2/+2
| |/ | | | | | | Also make some tweaks to the documentation.
* | Ninja: Add a separate job pool for PCH creationDan Johnston2020-01-162-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
* Merge topic 'doc-user-interaction'Brad King2020-01-141-0/+0
|\ | | | | | | | | | | | | | | | | | | | | bd681fee7a Help: Add guides for user interaction 6185265800 Utilities/Sphinx: Index guide-level documents for cross-referencing b1b7d01172 Utilities/Sphinx: Index document types only by top level directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mateusz Łoskot <mateusz@loskot.net> Acked-by: Daan De Meyer <daan.j.demeyer@gmail.com> Merge-request: !4097
| * Help: Add guides for user interactionStephen Kelly2020-01-131-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some prose to the documentation index page to guide readers to the major manuals and guides. Add a new "User Interaction Guide" to help the class of new user who wishes to build a project with CMake for the first time, such as after cloning a repo from a git repository. Add a new "Using Dependencies Guide" to help the class of new user who wishes to consume a SDK provided by a third party and needs a starting point. This is a different type of user to the user who wishes to create their own project from scratch (addressed by the `cmake-buildsystem(7)` manual) as each will encounter needs for information discovery in a different order.
* | Merge topic 'target_compile_options-BEFORE-keyword'Brad King2020-01-131-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 2678e31053 target_compile_options: ensure BEFORE keyword is handled in all scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4203
| * | target_compile_options: ensure BEFORE keyword is handled in all scopesMarc Chevrier2020-01-111-0/+1
| |/ | | | | | | Fixes: #20200
* | Ninja Multi-Config: Make cross-config building opt-inKyle Edwards2020-01-101-0/+1
|/ | | | | | | | | | | Many users will want to use the Ninja Multi-Config generator like a traditional Visual Studio-style multi-config generator, which doesn't mix configurations - custom commands are built using target executables of the same configuration the command is for. We do not want to force these people to generate an N*N build matrix when they only need N*1, especially if they have lots of targets. Add a new variable, CMAKE_NINJA_CROSS_CONFIG_ENABLE, to opt-in to the cross-config build matrix.
* Help: Fix sorting of property indexesCraig Scott2020-01-091-8/+8
|
* Autogen: Process .hh headers based on new policy CMP0100 settingsSebastian Holtermann2020-01-041-0/+1
| | | | | | | Reintroduces .hh header processing in AUTOMOC and AUTOUIC based on the new policy CMP0100 setting. Fixes: #13904 CMAKE_AUTOMOC misses headers with ".hh" extension
* Merge topic 'add_target_deprecation'Kyle Edwards2020-01-031-0/+1
|\ | | | | | | | | | | | | | | c621839bd9 Add set_property option: DEPRECATION Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniele E. Domenichelli <ddomenichelli@drdanz.it> Merge-request: !4128
| * Add set_property option: DEPRECATIONJoseph Snyder2020-01-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a new property flag for a target which contains a message regarding deprecation status. Add a warning at "Generate" time if a linked target is marked as deprecated. Expand ExportImport test to ensure that new property is being set and passed correctly. Ensure that the message is shown during the "Generate" step run of the ExportImport test.
* | Merge topic 'traceJSON'Kyle Edwards2019-12-271-0/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | e113ab1168 trace: Add test for the JSON-v1 trace 482497e0de trace: Add JSON output format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4102
| * | trace: Add JSON output formatDaniel Mensinger2019-12-231-0/+60
| |/ | | | | | | | | | | | | | | Add a new `--trace-format=` flag, to enable the new JSON trace output format. This new format is easier to parse by machines than the existing format. This new format also removes the ambiguity of the whitespace in the "old" format (e.g. is that whitespace part of a file path, or does it seperate arguments)
* | Help: Document CMAKE_FIND_DEBUG_MODERobert Maynard2019-12-191-0/+1
| |
* | find_*: Add debug logging infrastructureRobert Maynard2019-12-191-0/+6
|/ | | | | | | | | | | | Enable debug messages a new `--find-debug` command-line option or via the `CMAKE_FIND_DEBUG_MODE` variable. This work was started by Chris Wilson, continued by Ray Donnelly, and then refactored by Robert Maynard to collect information into a single message per find query. Co-Author: Ray Donnelly <mingw.android@gmail.com> Co-Author: Chris Wilson <chris+github@qwirx.com>
* Merge topic 'FindCUDAToolkit-module'Brad King2019-12-171-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | d484a3c4d8 FindCUDAToolkit: correct searches for Toolkit components e2a5d8374f FindCUDAToolkit: Improve usage, library set, and tests 29560bf07b FindCUDAToolkit: Import targets for toolkit libraries 2c0ff263b4 FindCUDAToolkit: Add module to find the CUDA Toolkit 12d324e55d CUDA: Persist SIZEOF_VOID_P and PLATFORM_ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Brad King <brad.king@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !4093
| * FindCUDAToolkit: Add module to find the CUDA ToolkitStephen McDowell2019-12-161-0/+1
| |
* | CMAKE_DEBUG_TARGET_PROPERTIES to `provides information` sectionRobert Maynard2019-12-161-1/+1
|/ | | | | | This variable only provides debug information and doesn't modify the output of CMake, so move it to the correct variable section.
* Help: Add documentation and release notes for multi-config NinjaKyle Edwards2019-12-132-2/+4
|
* Merge topic 'function-var-current'Kyle Edwards2019-12-121-0/+4
|\ | | | | | | | | | | | | | | | | | | 24fdd51f45 Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIR 90e3e2a777 cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables dd54290dab Refactor: Modernize `function` command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4000
| * cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variablesAlex Turbov2019-12-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | `CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
* | Merge topic 'add_cuda_meta_compiler_features'Brad King2019-12-123-6/+9
|\ \ | | | | | | | | | | | | | | | | | | 2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
| * | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-103-6/+9
| | |
* | | Merge topic 'ctest-drmemory-support'Brad King2019-12-121-0/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 676befdf52 ctest: add support for memcheck using Dr. Memory 2db0a65f56 cmCTestMemCheckHandler.cxx: minor refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4119
| * | | ctest: add support for memcheck using Dr. MemoryDietmar Scheidl2019-12-101-0/+14
| | | | | | | | | | | | | | | | Fixes: #19788
* | | | Merge topic 'link-options-propagation'Brad King2019-12-091-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | bbba701899 Link properties: must be transitive over private dependency on static library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4120
| * | | Link properties: must be transitive over private dependency on static libraryMarc Chevrier2019-12-091-0/+1
| |/ / | | | | | | | | | Fixes: #20022
* | | launcher: support setting a compiler launcher through the environmentBen Boeckel2019-12-051-0/+1
|/ / | | | | | | | | | | This makes it much easier to use a launcher for all CMake projects in an environment rather than having to remember to pass the setting to every CMake build.
* | Merge topic 'ctest-resource-fixes'Brad King2019-11-261-0/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | a033bafbe0 Help: Clarify how tests are run if no resource spec file is specified a64ba0235f CTest: Clarify that resource requirements can be split f9f294f5fa CTest: Add version field to resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4080
| * | Help: Clarify how tests are run if no resource spec file is specifiedKyle Edwards2019-11-261-0/+17
| | | | | | | | | | | | Fixes: #19985
| * | CTest: Add version field to resource spec fileKyle Edwards2019-11-251-0/+9
| | | | | | | | | | | | Fixes: #20007
* | | FileAPI: Add "multiConfig" parameter to index fileKyle Edwards2019-11-201-0/+4
| | |
* | | Merge topic 'ctest-repeat'Craig Scott2019-11-191-13/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 32c165d263 CTest: Consolidate '--repeat-* n' options as `--repeat *:n` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4053
| * | | CTest: Consolidate '--repeat-* n' options as `--repeat *:n`Brad King2019-11-151-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Combine `--repeat-until-fail`, `--repeat-until-pass`, and `--repeat-after-timeout` to create a single `--repeat <mode>:<n>` option. Retain `--repeat-until-fail` too because that has been available in previous releases.
* | | | Merge topic 'xcode-scheme-workdir'Brad King2019-11-192-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92c4c852db Xcode: Add custom working directory property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4063
| * | | | Xcode: Add custom working directory propertyGregor Jasny2019-11-182-0/+2
| | | | | | | | | | | | | | | | | | | | Closes: #19967
* | | | | Merge topic 'FindFLEX-work-dir'Brad King2019-11-191-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | c5fb36a4cb FindFLEX: Add policy CMP0098 to run flex in build tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3981
| * | | | FindFLEX: Add policy CMP0098 to run flex in build treeJannick2019-11-151-0/+8
| | | | |
* | | | | Merge topic 'compile-features-other-lang'Brad King2019-11-181-1/+6
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | 229f2cc5fd Help: Clarify compile features handling for OBJC and OBJCXX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4057
| * | | Help: Clarify compile features handling for OBJC and OBJCXXCraig Scott2019-11-171-1/+6
| | | |
| * | | Merge topic 'objc-standard-docs' into release-3.16Brad King2019-11-122-0/+12
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 665954fa8d ObjC: Document ObjC/ObjCXX standard properties / variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4031
| * \ \ \ Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS' into release-3.16Craig Scott2019-11-121-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025