Cristian Adam
22e65d10c1
find_package: Fixed CMAKE_FIND_PACKAGE_PREFER_CONFIG Module fallback
...
Fixes : #19361
2019-06-13 23:58:30 +02:00
Brad King
a423194311
Merge branch 'ctest_xml_tweaks' into release-3.15
...
Merge-request: !3423
2019-06-04 12:29:02 -04:00
Brad King
c0f00079a9
Tests: Fix RunCMake.ctest_update test to not require GIT_EXECUTABLE
...
Fix the test case added by commit 95db11fdb1
(ctest: Include ChangeId in
Update.xml, 2019-04-23) to work in a release branch of CMake.
The `GIT_EXECUTABLE` value is not set before we add this test in
release branch builds.
2019-06-04 12:27:32 -04:00
Brad King
0eeb3690d1
Merge branch 'GetPrerequisites-variable-typo' into release-3.15
...
Merge-request: !3421
2019-06-04 12:11:21 -04:00
Ben Boeckel
0da2c35d6b
GetPrerequisites: fix regression in gp_append_unique
...
The `item` variable was the loop variable in the old code prior to
commit 3dfc8b9bd6
(GetPrerequisites: use if(IN_LIST) instead of foreach,
2019-05-09). The function argument `value` should be used instead.
2019-06-04 12:00:06 -04:00
Brad King
9d78ce0293
CMake 3.15.0-rc1 version update
2019-06-04 10:55:08 -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
dae9b3e16f
Merge topic 'doc-3.15-relnotes'
...
4272297b6e
Help: Organize and revise 3.15 release notes
01d5730411
Help: Consolidate 3.15 release notes
e075e64fd8
Help: Document Swift_DEPENDENCIES_FILE property defaults
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3420
2019-06-04 10:51:52 -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
Brad King
e075e64fd8
Help: Document Swift_DEPENDENCIES_FILE property defaults
...
Copy wording from the release notes.
2019-06-04 09:55:37 -04:00
Brad King
4d80bd5cd5
Merge topic 'tweaks_to_release_notes'
...
435f71fe12
Help: Clarify COMPILE_LANG_AND_ID release note
9098d31760
Help: Clarify vs-just-my-code-debugging release note language
bb8b3727c9
Help: Reference project command in CMAKE_PROJECT_INCLUDE_BEFORE relnotes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3419
2019-06-04 08:46:33 -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
Brad King
36140d864e
Merge topic 'ninja-nvcc-rsp'
...
d91b5a72cd
Ninja: Add support for CUDA nvcc response files
5efac09bed
Ninja: Compute linker response file flag earlier
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3399
2019-06-04 08:35:47 -04:00
Brad King
65f5df7d08
Merge topic 'executables-are-consoled'
...
b06f4c8a74
Swift: disallow WIN32_EXECUTABLE properties
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3410
2019-06-04 08:34:21 -04:00
Brad King
9ba901eb3c
Merge topic 'swift-linker-flags'
...
7456739e24
Swift: avoid `CMAKE_{EXE,SHARED}_LINKER_FLAGS`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3406
2019-06-04 08:33:14 -04:00
Brad King
4b68baa776
Merge topic 'compiler_id_gen_exp_supports_multiple_ids'
...
162555d7ec
Help: Add release notes for updated generator expressions
808b818063
Genex: CompileLang and CompileLangAndId now match against a list of ids
9fd602bfd3
Genex: PlatformId now can match against a list of ids.
ec66af2026
Genex: CompilerId now can match against a list of ids.
2d4787fc4d
Genex: Add more extensive support for an unbounded number of parameters
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3405
2019-06-04 08:32:19 -04:00
Brad King
d4108f5585
Merge topic 'check_language_respects_cuda_host_compiler'
...
fada8cbfd6
CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3407
2019-06-04 08:30:26 -04:00
Brad King
99b9b01c02
Merge topic 'print-correct-line-number'
...
3475e2728b
cmListFileCache: When missing ending ) print starting line instead of last one
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3398
2019-06-04 08:28:09 -04:00
Brad King
e591e22d4c
Merge topic 'better_error_message_for_visibility_preset_property'
...
619416f8a3
The error message for VISIBILITY_PRESET now documents valid options.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3409
2019-06-04 08:25:47 -04:00
Brad King
7561fcda09
Merge topic 'test-explicit-dirs'
...
f263650f95
Tests: Fix RunCMake.CommandLine test to use generator in no-S-B case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3414
2019-06-04 08:24:29 -04:00
Kitware Robot
99496f5776
CMake Nightly Date Stamp
2019-06-04 00:01:06 -04:00
Brad King
f263650f95
Tests: Fix RunCMake.CommandLine test to use generator in no-S-B case
...
Apply the fix from commit baed22c4b0
(Tests: Fix RunCMake.CommandLine
test to use generator with -S and -B, 2019-04-10) to the `no-S-B` case
too. It also generates a build system and should use the generator
being tested.
2019-06-03 14:57:19 -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
John Freeman
013bee698e
Tests: Add RunCMake.CommandLine make_directory test checks
2019-06-03 14:17:11 -04:00
John Freeman
3eb16de327
Tests: Fix RunCMake.CommandLine make_directory test name
2019-06-03 14:16:50 -04:00
Saleem Abdulrasool
b06f4c8a74
Swift: disallow WIN32_EXECUTABLE properties
...
Currently, the compiler does not synthesize the correct entry point for
the application and passing the subsystem flag does not work the same
way with the Swift linker language. Add a check to prevent the
application of `WIN32_EXECUTABLE` to Swift executables until they can be
properly supported. This will prevent the need for a future policy
change.
Closes : #19325
2019-06-03 14:05:10 -04:00
Francisco Facioni
d91b5a72cd
Ninja: Add support for CUDA nvcc response files
2019-06-03 11:53:27 -04:00
Francisco Facioni
5efac09bed
Ninja: Compute linker response file flag earlier
2019-06-03 11:52:28 -04:00
Brad King
73472408c5
Merge topic 'ninja_build_class'
...
7d9e66a405
Ninja: Remove non cmNinjaBuild based WriteBuild method
ccf9507956
Ninja: Use cmNinjaBuild class for WriteBuild
df06c8d792
Ninja: Use cmNinjaBuild class for WriteBuild
409922f695
Ninja: Use cmNinjaBuild class for WriteBuild
7fd3811400
Ninja: Use cmNinjaBuild class for WriteBuild
834ec4ebfe
Ninja: Use cmNinjaBuild class for WriteBuild
465d6d7f9b
Ninja: Use cmNinjaBuild class for WriteBuild
4c9e99e1f9
Ninja: Use cmNinjaBuild class for WriteBuild
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3403
2019-06-03 11:51:23 -04:00
Robert Maynard
fada8cbfd6
CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation
...
Fixes : #19013
2019-06-03 10:36:06 -04:00
Robert Maynard
162555d7ec
Help: Add release notes for updated generator expressions
2019-06-03 10:23:49 -04:00
Robert Maynard
808b818063
Genex: CompileLang and CompileLangAndId now match against a list of ids
...
This allows for expressions such as:
$<COMPILE_LANG_AND_ID, CXX, GNU, Clang>
2019-06-03 10:20:23 -04:00
Robert Maynard
9fd602bfd3
Genex: PlatformId now can match against a list of ids.
2019-06-03 10:20:23 -04:00
Robert Maynard
ec66af2026
Genex: CompilerId now can match against a list of ids.
...
This allows for expressions like:
$<$<CXX_COMPILER_ID:Clang,GNU>:-DMY_PRIVATE_DEFINE>
2019-06-03 10:20:23 -04:00
Robert Maynard
2d4787fc4d
Genex: Add more extensive support for an unbounded number of parameters
...
Previously genex support for unbounded number of parameters required
at least 1 parameter. We now support zero or more parameters, and two
or more parameters.
2019-06-03 10:20:22 -04:00
Marek Antoniak
fec441ec17
Teach CROSSCOMPILING_EMULATOR to support arguments
...
Fixes : #19321
2019-06-03 10:17:17 -04:00
Bartosz Kosiorek
3475e2728b
cmListFileCache: When missing ending ) print starting line instead of last one
...
Fixes : #19301
2019-06-03 10:03:53 -04:00
Saleem Abdulrasool
7456739e24
Swift: avoid CMAKE_{EXE,SHARED}_LINKER_FLAGS
...
Avoid the use of `CMAKE_{EXE,SHARED}_LINKER_FLAGS` when linking with the
Swift language. This required hoisting the executable flags of
`CMAKE_CREATE_WIN32_EXE`, `CMAKE_CREATE_CONSOLE_EXE`, and
`CMAKE_EXE_EXPORTS_*_FLAG` earlier to avoid a second clause which checks
the language. This allows for mixed-language Swift projects to properly
link on Windows.
Fixes #19298
2019-06-03 09:59:39 -04:00
Robert Maynard
619416f8a3
The error message for VISIBILITY_PRESET now documents valid options.
...
Rather than just state the value for VISIBILITY_PRESET was invalid,
we additionally list the accepted values.
2019-06-03 09:56:03 -04:00
Brad King
5e2d22c177
Merge topic 'FindPython-Python_ROOT_DIR-searched-first'
...
52b298bd03
FindPython: ensure Python_ROOT_DIR is always searched first
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3408
2019-06-03 09:22:33 -04:00
Craig Scott
3cb5a8d9b3
Merge topic 'doc-test-cost-default'
...
774102aaec
Help: Clarify the default value for test property COST
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3397
2019-06-03 08:20:22 -04:00
Craig Scott
18d6bdb42d
Merge topic 'add_library_unknown'
...
4127f82179
add_library: Document UNKNOWN type of imported targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3346
2019-06-03 08:18:02 -04:00
Kitware Robot
7dae93b405
CMake Nightly Date Stamp
2019-06-03 00:01:05 -04:00
Craig Scott
774102aaec
Help: Clarify the default value for test property COST
...
Co-Authored-By: Steve Mokris <smokris@softpixel.com>
2019-06-02 21:08:56 +10:00
Cristian Adam
4127f82179
add_library: Document UNKNOWN type of imported targets
2019-06-02 08:44:47 +02:00