Brad King
0964a96972
Merge topic 'FindBISON-CMP0088-SourcePath'
...
f84d2045e9 FindBISON: Fix CMP0088 NEW behavior for non-absolute input paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3549
2019-07-15 07:34:01 -04:00
Brian Carlson
f84d2045e9
FindBISON: Fix CMP0088 NEW behavior for non-absolute input paths
...
Now that the working directory is in the build tree, relative input
paths must be converted to an absolute path to remain relative to the
source directory.
Fixes : #19472
2019-07-12 16:20:08 -04:00
Brad King
8212b0880d
Merge topic 'cmake-e-true-false'
...
b8828ecbba cmake -E: Add true and false commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3542
2019-07-12 16:12:20 -04:00
Brad King
82a72bfc1b
Merge topic 'ctest_make_program__propagated_to_cmake_configure_pass'
...
cd681f1f41 ctest: propagate make program to cmake
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3483
2019-07-12 16:10:32 -04:00
Kyle Edwards
b8828ecbba
cmake -E: Add true and false commands
2019-07-11 13:41:30 -04:00
Brad King
01a8b89f29
Merge topic 'eclipse-resource-encoding'
...
09c1991895 Eclipse: Add option to set the resource encoding
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3525
2019-07-11 08:49:34 -04:00
Robert Maynard
cd681f1f41
ctest: propagate make program to cmake
2019-07-11 08:28:35 -04:00
Craig Scott
f7eb765012
Merge topic 'add_cmake_find_use_package_registry'
...
447a96f590 vim: Update cmake.vim to include the CMAKE_FIND_USE variables
1d00ba9ccf Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY
704e3a2ca8 Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3487
2019-07-09 19:32:54 -04:00
Martin Gerhardy
09c1991895
Eclipse: Add option to set the resource encoding
2019-07-09 13:34:29 -04:00
Robert Maynard
1d00ba9ccf
Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY
...
CMake's find control flags should all have a consistent name.
To make this happen we are introducing `CMAKE_FIND_USE_REGISTRY`
and deprecating `CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY`.
2019-07-09 09:38:35 -04:00
Robert Maynard
704e3a2ca8
Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs
2019-07-09 09:37:55 -04:00
Brad King
cf821ff3c4
Add deprecation warnings for policies CMP0067 and below
...
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.8 and below to encourage projects to port away
from setting policies to OLD.
2019-07-01 10:21:06 -04:00
Brad King
3327fe948e
Merge topic 'vs-dpi-aware'
...
cd92f8f8bf VS: Add VS_DPI_AWARE target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3418
2019-06-27 08:56:41 -04:00
Matt Weir
cd92f8f8bf
VS: Add VS_DPI_AWARE target property
...
Enables setting the visual studio project property for Manifests,
controlling the DPI Aware setting.
2019-06-26 09:55:49 -04:00
Kyle Edwards
d29ed8a114
BUILD_RPATH/INSTALL_RPATH: Add generator expression support
...
Fixes : #19423
2019-06-25 10:55:03 -04:00
Brad King
b4a882cf10
Merge topic 'FindPython-FIND_ABI'
...
9201908ca5 FindPython: add Python_FIND_ABI hint.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3463
2019-06-25 07:06:35 -04:00
Marc Chevrier
9201908ca5
FindPython: add Python_FIND_ABI hint.
...
This variable will enable to specify will ABIs will be searched.
2019-06-24 12:00:21 +02:00
Robert Maynard
02f527c66a
Find: Provide global controls for the NO_[]_PATH call options
2019-06-21 11:06:39 -04:00
Kyle Edwards
77e59e442d
Merge topic 'escape-install-rpath'
...
4caefbb423 cmInstallTargetGenerator: Add tests for the RPATH_CHANGE rule
749ce48eb5 cmInstallTargetGenerator: Escape generated OLD_RPATH argument
9e84c7c5e8 cmInstallTargetGenerator: Introduce CMP0095
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3383
2019-06-17 10:04:47 -04:00
Dennis Klein
9e84c7c5e8
cmInstallTargetGenerator: Introduce CMP0095
...
Escape coincidental CMake syntax in RPATH entries when generating the
intermediary cmake_install.cmake script.
Fixes #19225
2019-06-13 16:41:04 +02:00
Brad King
f07200fe16
Merge topic 'add-test-command-expand-lists'
...
e791ffac61 add_test: Add COMMAND_EXPAND_LISTS option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3422
2019-06-12 12:48:13 -04:00
Kyle Edwards
54ec4c1e79
GetPrerequisites: Add deprecation notice
...
GetPrerequisites has now been superceded by file(GET_RUNTIME_DEPENDENCIES),
so add a deprecation notice stating such.
2019-06-10 14:35:28 -04:00
Kyle Edwards
1f9ef25130
file: Add GET_RUNTIME_DEPENDENCIES mode
...
Co-Authored-by: Bryon Bean <bryon.bean@kitware.com >
2019-06-10 14:35:28 -04:00
Sergey Bobrenok
e791ffac61
add_test: Add COMMAND_EXPAND_LISTS option
...
Add a `COMMAND_EXPAND_LISTS` option to the `add_test` command to cause
`;`-separated lists produced by generator expressions to be expanded
into multiple arguments. The `add_custom_command` command already
has such an option.
Fixes : #17284
2019-06-07 13:14:29 -04:00
Brad King
98004612f6
Begin post-3.15 development
2019-06-04 10:56:45 -04:00
Brad King
118bd8b53e
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2019-06-04 10:54:19 -04:00
Brad King
4272297b6e
Help: Organize and revise 3.15 release notes
...
Add section headers similar to the 3.14 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2019-06-04 10:37:29 -04:00
Brad King
01d5730411
Help: Consolidate 3.15 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.15.rst`.
2019-06-04 09:55:37 -04:00
Robert Maynard
435f71fe12
Help: Clarify COMPILE_LANG_AND_ID release note
2019-06-04 08:45:49 -04:00
Robert Maynard
9098d31760
Help: Clarify vs-just-my-code-debugging release note language
2019-06-04 08:45:49 -04:00
Robert Maynard
bb8b3727c9
Help: Reference project command in CMAKE_PROJECT_INCLUDE_BEFORE relnotes
2019-06-04 08:45:49 -04:00
Brad King
842f70c493
Merge topic 'emulator-arguments'
...
fec441ec17 Teach CROSSCOMPILING_EMULATOR to support arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3402
2019-06-04 08:37:55 -04:00
Brad King
a7d2efc15b
Merge topic 'remove_directories'
...
07a80c7002 cmake: Teach -E remove_directory to remove multiple directories
013bee698e Tests: Add RunCMake.CommandLine make_directory test checks
3eb16de327 Tests: Fix RunCMake.CommandLine make_directory test name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3411
2019-06-04 08:37:04 -04:00
John Freeman
07a80c7002
cmake: Teach -E remove_directory to remove multiple directories
...
The `make_directory` command can make multiple directories in a single
invocation. Make `remove_directory` mirror that behavior.
2019-06-03 14:20:00 -04:00
Robert Maynard
162555d7ec
Help: Add release notes for updated generator expressions
2019-06-03 10:23:49 -04:00
Marek Antoniak
fec441ec17
Teach CROSSCOMPILING_EMULATOR to support arguments
...
Fixes : #19321
2019-06-03 10:17:17 -04:00
Brad King
187928875d
Merge topic 'vs-add-package-reference'
...
42e14d90b1 VS: Added support for VS package references for nuget
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Leonid Pospelov <pospelovlm@yandex.ru >
Merge-request: !3389
2019-05-31 13:18:31 -04:00
Brad King
0d025f75c1
Merge topic 'implicit-includes-CPATH'
...
2d0b0e2b9d Do not exclude include directories made implicit by CPATH
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3395
2019-05-31 09:03:28 -04:00
Kinan Mahdi
42e14d90b1
VS: Added support for VS package references for nuget
2019-05-30 10:22:44 -04:00
Brad King
05af1770a0
Merge topic 'tar-zstd-compression'
...
53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3357
2019-05-30 09:39:35 -04:00
Brad King
2d0b0e2b9d
Do not exclude include directories made implicit by CPATH
...
Entries of the `CPATH` environment variable are implicitly searched as
include directories by some C/C++ compilers. Since commit 5990ecb741
(Compute implicit include directories from compiler output, 2018-12-07,
v3.14.0-rc1~108^2) these entries are detected by CMake and included in
the `CMAKE_{C,CXX}_IMPLICIT_INCLUDE_DIRECTORIES` variables.
However, we should not exclude them from explicit specification via `-I`
or particularly `-isystem` because they are meant as user-specified
include directories that can be re-ordered without breaking compiler
builtin headers. In particular, we need explicit requests via
`include_directories` with the `SYSTEM` option to result in `-isystem`
so that third-party headers do not produce warnings.
Co-Author: Ben Boeckel <ben.boeckel@kitware.com >
Fixes : #19291
2019-05-30 09:24:59 -04:00
Brad King
067a4f484b
Merge topic 'clang-gnulike-support'
...
74829f01b1 Help: Add notes for topic 'clang-gnulike-support'
19669abe1d Tests: handle string escaping differences with NMake+clang
a2a90f41e3 Tests: require C++14 for the Tutorial
4819ff9647 Tests: fix failures with gnu mode clang on windows
26af0b25e7 cmake: use correct stack size with gnu mode clang on windows
d44c0db0b2 clang: setup correct configuration in gnu mode
b7d5ef23e9 cmGlobalNinjaGenerator: use gnu compatible paths with clang in gnu mode
3d0210d8dc binutils: add the llvm-* variants to the tool lists.
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Francesco Bertolaccini <francesco@bertolaccini.dev >
Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com >
Acked-by: Saleem Abdulrasool <compnerd@compnerd.org >
Merge-request: !2992
2019-05-29 09:22:12 -04:00
Brad King
22aabdfde0
Merge topic 'cmake_automoc_relaxed_mode_deprecation'
...
df6adb02c0 Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODE
5bf07b9cfc Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecated
b5ad572ac1 Autogen: Deprecation message for CMAKE_AUTOMOC_RELAXED_MODE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3381
2019-05-28 11:56:24 -04:00
Sebastian Holtermann
df6adb02c0
Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODE
2019-05-27 13:13:08 +02:00
Marc Chevrier
62d6ed79fb
FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.
2019-05-24 18:44:43 +02:00
Brad King
74829f01b1
Help: Add notes for topic 'clang-gnulike-support'
2019-05-24 08:43:56 +02:00
Bartosz Kosiorek
c8e217e0a7
cmake: tar: Allow selective extracting and listing of archives
2019-05-23 10:08:22 -04:00
Brad King
5222400d9f
Merge topic 'FindPython-find_strategy'
...
8517b549f4 FindPython: Add policy to manage lookup stratgey default.
9f205acefe FindPython: Implement lookup strategies.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3354
2019-05-23 08:59:25 -04:00
Brad King
cbd1c5b4ab
Merge topic 'framework-var'
...
26ea022c3b Add variable CMAKE_FRAMEWORK
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3347
2019-05-23 08:57:36 -04:00
Brad King
8ed6efbbd3
Merge topic 'default-generator-env'
...
d0f0ba0f7a Tests: Add environment generator tests
a48ce8f4bf Help: Add documentation for default generator environment variables
083cf7e8a2 cmake: Allow default generator to be set by environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3218
2019-05-22 10:32:43 -04:00