summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add_target_deprecation'Kyle Edwards2020-01-033-0/+15
|\ | | | | | | | | | | | | | | 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-023-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | FindLibXml2: provide imported target LibXml2::xmllintSylvain Joubert2019-12-311-0/+4
| |
* | Merge topic 'traceJSON'Kyle Edwards2019-12-272-0/+67
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-232-0/+67
| |/ | | | | | | | | | | | | | | 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: Add release notes for debugging find commandsRobert Maynard2019-12-231-0/+10
| |
* | Merge topic 'findpython_conda_support'Marc Chevrier2019-12-231-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 776d27d4a4 FindPython: Extend virtual environment handling by considering conda Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4155
| * | FindPython: Extend virtual environment handling by considering condaSebastian Müller2019-12-211-0/+5
| |/ | | | | | | | | | | - Add functionality to recognize and use CONDA_PREFIX environment variable - Add tests for conda virtual environments - Fixes: #20111
* | Merge topic 'add_find_call_debugging'Kyle Edwards2019-12-203-0/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f3c9396260 Help: Document CMAKE_FIND_DEBUG_MODE 204b8d9f4e find_*: Use debug logging infrastructure a7ea20649d find_*: Add debug logging infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3935
| * | Help: Document CMAKE_FIND_DEBUG_MODERobert Maynard2019-12-192-0/+23
| | |
| * | 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>
* | add_custom_command: convert DEPENDS path arguments to absolute pathsBen Boeckel2019-12-182-3/+13
|/ | | | | | | This is only done if they are "obviously" paths in that they contain a directory separator. Fixes: #17111
* Merge topic 'FindCUDAToolkit-module'Brad King2019-12-173-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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-163-0/+6
| |
* | Merge topic 'better_category_for_target_debug_property'Brad King2019-12-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | b23c778034 CMAKE_DEBUG_TARGET_PROPERTIES to `provides information` section Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4142
| * | 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.
* | Merge topic 'fix-vs-winrt-by-default'Brad King2019-12-171-2/+12
|\ \ | |/ |/| | | | | | | | | | | 557ea4614e VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRT 7bcef355bf Vs: Add test for VS_WINRT_BY_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4127
| * VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRTPetr Polezhaev2019-12-161-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original behaviour would unconditionally enable WinRT for all projects so source file flag generation code can acknowledge WinRT being present and disable it for C language source files. An unintentional result of that approach is that WinRT is enabled for ALL projects, including C++ projects/source files with no way to disable it Instead use `CMAKE_VS_WINRT_BY_DEFAULT` as a hint that the platform is WinRT-by-default and set global `CompileAsWinRT` flag to `false` unless it was explicitly requested by either `WINRT_COMPONENT` option or `/ZW` compilation option - similar to what Windows Phone/Windows Store platform logic does In case WinRT compilation is enabled for a project by either of aforementioned methods, C language source file override logic will still kick in and disable CompileAsWinRT for C source files Fixes: #20063
* | Help: Add documentation and release notes for multi-config NinjaKyle Edwards2019-12-136-3/+98
|/
* Merge topic 'function-var-current'Kyle Edwards2019-12-127-0/+68
|\ | | | | | | | | | | | | | | | | | | 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-107-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | `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-128-10/+62
|\ \ | | | | | | | | | | | | | | | | | | 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-108-10/+62
| | |
* | | Merge topic 'ctest-drmemory-support'Brad King2019-12-123-1/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-1/+20
| | | | | | | | | | | | | | | | Fixes: #19788
* | | | Merge topic 'ctest-configuration-type'Kyle Edwards2019-12-112-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6f758be6d ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4109
| * | | | ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when setJulien Jomier2019-12-092-0/+8
| |/ / /
* | | | Merge topic 'link-options-propagation'Brad King2019-12-093-0/+33
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 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-093-0/+33
| | | | | | | | | | | | | | | | Fixes: #20022
* | | | Merge topic 'foreach-ZIP_LISTS'Brad King2019-12-092-0/+48
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d30468a2f6 foreach: Allow multiple iteration variables for `ZIP_LIST` mode f3e51a2b1d foreach: Introduce `IN ZIP_LISTS` mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4021
| * | | | foreach: Allow multiple iteration variables for `ZIP_LIST` modeAlex Turbov2019-12-071-11/+26
| | | | |
| * | | | foreach: Introduce `IN ZIP_LISTS` modeAlex Turbov2019-12-012-0/+33
| | | | |
* | | | | Merge topic 'compiler-launcher-env'Brad King2019-12-094-0/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f48c59257 launcher: support setting a compiler launcher through the environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4095
| * | | | | launcher: support setting a compiler launcher through the environmentBen Boeckel2019-12-054-0/+19
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 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 'libarchive-target'Kyle Edwards2019-12-091-0/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 30488b3b9f FindLibArchive: create a target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4117
| * | | | FindLibArchive: create a targetT.J. Corona2019-12-051-0/+5
| | | | |
* | | | | Merge topic 'doc-rpath'Brad King2019-12-062-9/+17
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | fb4a39a900 Help: Clarify INSTALL_RPATH_USE_LINK_PATH documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4108
| * | | | Help: Clarify INSTALL_RPATH_USE_LINK_PATH documentationHong Xu2019-12-052-9/+17
| |/ / / | | | | | | | | | | | | | | | | State explicitly that directories containing linked library files are also included even if they are not in the linker search path.
* | | | Merge topic 'host-system-processor'Brad King2019-12-051-3/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e622832211 Help: Fix CMAKE_HOST_SYSTEM_PROCESSOR use of uname Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4107
| * | | | Help: Fix CMAKE_HOST_SYSTEM_PROCESSOR use of unameHong Xu2019-12-041-3/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the document says that `CMAKE_HOST_SYSTEM_PROCESSOR` is the output of `uname -p` if a system supports `uname`. Update the documented behavior to match `CMakeDetermineSystem.cmake` code. Fixes: #20004
* | | | Ninja: Prefer first ninja tool available in PATHBrad King2019-11-261-0/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | We search for tools `ninja-build`, `ninja`, and `samu` as the build tool for the Ninja generator. Re-order the search to prefer whichever tool appears first in the `PATH`. This makes it easier for users to control which tool gets used when more than one is available. Fixes: #20028
* | | Merge topic 'xlf-ninja'Brad King2019-11-261-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 19f267c75e XL: Add support for Ninja and XL Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4075
| * | | XL: Add support for Ninja and XL FortranBrad King2019-11-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator's support for Fortran requires that source files be preprocessed explicitly first. However, the `xlf` compiler does not have a simple `-E` option or equivalent to do preprocessing. The only documented way to get preprocessed output is to use `-d` to leave it behind, but only at an inflexible location. Instead, create our own `cpp` wrapper script and substitute it for the real preprocessor using `-tF -B ...`. Teach the wrapper to map the `cpp` output to the location we need and then invoke the real `cpp` underneath. Fixes: #19450
* | | | Merge topic 'ctest-resource-fixes'Brad King2019-11-262-0/+42
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Clarify that resource requirements can be splitKyle Edwards2019-11-251-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a note to the documentation to clarify this, and add test cases to ensure it. Fixes: #19987
| * | | CTest: Add version field to resource spec fileKyle Edwards2019-11-251-0/+9
| | | | | | | | | | | | | | | | Fixes: #20007
| * | | Merge topic 'compile-features-other-lang' into release-3.16Brad 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
| * \ \ \ Merge topic 'docs-pch-reorg' into release-3.16Brad King2019-11-182-49/+75
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc88ede7a3 Help: Provide guidance on INTERFACE for target_precompile_headers() dae9a808fe Help: Reorganise target_precompile_headers() docs for readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4045
* | \ \ \ \ Merge topic 'load_cache_in_script'Brad King2019-11-211-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e9ecaae0e load_cache: Allow READ_WITH_PREFIX mode in cmake scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4042