summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Help: Fix variable name on CMAKE_GLOBAL_AUTOGEN_TARGET pageJoerg Bornemann2020-01-131-1/+1
| | | | | | | | | | | | | | | | CMAKE_GLOBAL_AUTORCC_TARGET was mentioned accidentally.
* | | | Merge topic 'xcode-default-warnings'Brad King2020-01-141-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7b8331d68 Xcode: Drop hard-coded default warning flags like -Wmost Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4213
| * | | | Xcode: Drop hard-coded default warning flags like -WmostBrad King2020-01-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `-Wmost` flag was added by commit 97a51d2172 (ENH: add more xcode stuff, 2005-01-27, v2.4.0~2396), along with a couple others, as part of very early work on the Xcode generator. I suspect that the flags were part of Xcode's project creation wizard. However, they are not appropriate for CMake-based projects because we already have our own mechanisms for specifying flags desired by the project or user. Simply drop the flags. Fixes: #13516
* | | | | Merge topic 'doc-user-interaction'Brad King2020-01-148-0/+917
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-138-0/+917
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-133-0/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-113-0/+26
| | |/ / / | |/| | | | | | | | | | | | | Fixes: #20200
* | | | | Merge topic 'ninja-cross-build-disable'Brad King2020-01-133-3/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8032e202e Ninja Multi-Config: Make cross-config building opt-in Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4205
| * | | | | Ninja Multi-Config: Make cross-config building opt-inKyle Edwards2020-01-103-3/+17
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge topic 'out-of-dir-link-keyword'Brad King2020-01-131-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09721ca078 target_link_libraries: Fix out-of-dir calls with debug/optimized keywords c40229968c target_link_libraries: Add FIXME comment for out-of-dir genex list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4202
| * | | | target_link_libraries: Fix out-of-dir calls with debug/optimized keywordsBrad King2020-01-101-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a1ad0a699b (target_link_libraries: Allow use with targets in other directories, 2018-09-07, v3.13.0-rc1~94^2) we added use of `<...>` to encode a directory id, but the closing `>` can incorrectly terminate a surrounding generator expression early. Encode the directory id using `(...)` instead. Fixes: #20202
* | | | Merge topic 'nsis-headerimage'Kyle Edwards2020-01-102-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4157
| * | | | CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAPJohnny Jazeix2020-01-022-0/+11
| | | | | | | | | | | | | | | | | | | | Fixes: #20120
* | | | | Merge topic 'ninja-postgen-commands'Brad King2020-01-101-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb18215904 Ninja: clean ninja metadata once generated Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jan Niklas Hasse <jhasse@bixense.com> Merge-request: !3316
| * | | | | Ninja: clean ninja metadata once generatedBen Boeckel2020-01-061-0/+5
| | |_|/ / | |/| | | | | | | | | | | | | Fixes: #15830
* | | | | Merge topic 'objc-compiler-launcher'Brad King2020-01-102-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher' 1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4189
| * | | | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-092-2/+2
| | |_|/ | |/| | | | | | | | | | Fixes: #20178
* | | | Merge topic 'docs-autogen'Craig Scott2020-01-109-27/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 159d2ead95 Help: Mention both target and source properties for AUTO..._OPTIONS 648234b8ba Help: Clarify/add docs for initializing AUTO..._OPTIONS properties dd2f42cc84 Help: Clean up formatting and typos in autogen docs 2ec57e11fb Help: Fix sorting of property indexes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4194
| * | | | Help: Mention both target and source properties for AUTO..._OPTIONSCraig Scott2020-01-092-5/+9
| | | | |
| * | | | Help: Clarify/add docs for initializing AUTO..._OPTIONS propertiesCraig Scott2020-01-093-7/+5
| | | | |
| * | | | Help: Clean up formatting and typos in autogen docsCraig Scott2020-01-094-7/+7
| | | | |
| * | | | Help: Fix sorting of property indexesCraig Scott2020-01-091-8/+8
| |/ / /
* | | | FindPython: Add variable Python_SOABIMarc Chevrier2020-01-091-0/+6
|/ / / | | | | | | | | | | | | | | | This variable holds the standard extension suffix for modules. Fixes: #20150
* | | Autogen: Process .hh headers based on new policy CMP0100 settingsSebastian Holtermann2020-01-043-0/+47
|/ / | | | | | | | | | | | | 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-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