Kyle Edwards
4d2f1af9d5
Help: Update FileAPI codemodel version to 2.1, add release notes
...
This fixes the documentation which should have been fixed in 2f9729df .
2020-06-30 14:04:13 -04:00
Craig Scott
4d19db2c88
Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notes
2020-06-24 23:19:06 +10:00
Craig Scott
14ac7e82bd
Help: Explicitly say transaction, don't abbreviate to trans
...
The release notes need to make sense to people not so familiar with
each item. For those less familiar with RPM, spelling out "transaction"
makes this line item much clearer in isolation.
2020-06-18 20:43:46 +10:00
Craig Scott
83df16dee7
Help: Add missing PCH_WARN_INVALID docs and related cleanups
2020-06-18 20:26:03 +10:00
Brad King
540f23753b
Help: Fix order of FindCUDAToolkit entry in 3.18 release notes
2020-06-17 11:28:31 -04:00
Raul Tambre
5a5d38f464
Help: Mention CUDA Clang limitations in 3.18 release notes
2020-06-16 14:07:39 -04:00
Raul Tambre
6ad5c355c2
CUDA: Determine CUDA toolkit location for NVCC
...
Similar to how we already do for Clang. Avoids a lot of redundant work in
FindCUDAToolkit.
2020-06-12 23:13:57 +03:00
Raul Tambre
a0f0906e26
FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
...
On scattered installations version.txt and nvvm are located at this location.
This may be useful to users and will allow us in the future to parse
version.txt instead of invoking nvcc to figure out the CUDA toolkit version.
We also add it to CMakeDetermineCUDACompiler in preparation for future use by
Clang code.
2020-06-12 21:49:15 +03:00
Brad King
6dbb28a502
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2020-06-05 08:33:59 -04:00
Brad King
364ed79e48
Help: Organize and revise 3.18 release notes
...
Add section headers similar to the 3.18 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2020-06-03 06:22:15 -04:00
Brad King
81d68b2da0
Help: Consolidate 3.18 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.18.rst`.
2020-06-03 06:17:54 -04:00
Marc Chevrier
74f0f19824
add_library/add_executable: allow local alias to imported targets
...
Fixes : #20641
2020-06-02 17:11:47 +02:00
Brad King
78155da034
Merge topic 'target_link_libraries-self-link-is-an-error'
...
1e81e8defe target_link_libraries: self-link through ALIAS is an error
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4826
2020-06-02 07:53:40 -04:00
Marc Chevrier
1e81e8defe
target_link_libraries: self-link through ALIAS is an error
...
Fixes : #19617
2020-05-30 11:47:39 +02:00
Craig Scott
5192a21ecc
ExternalProject: Add missing release note for git update strategy
...
This release note was mistakenly omitted from commit 5f1ba2e390
(ExternalProject: Provide choice of git update strategies, 2020-02-12).
2020-05-29 12:10:33 -04:00
Marc Chevrier
a6c3d3dd72
ALIAS target: cannot overwrite an existing target
...
Fixes : #19616
2020-05-28 12:56:59 -04:00
Brad King
b6079f3905
Update links to gitlab.kitware.com repos to add -/
...
GitLab now uses a `/-/` component between the `group/project` part of
the URL and the `{issues,merge_requests,tree}` part so that it can
support `group/subgroup/project` with arbitrary depth.
2020-05-26 11:38:01 -04:00
Marc Chevrier
05c271bf4d
CheckLinkerFlag: Add module to check validity of linker flags
...
Fixes : #15934
2020-05-25 10:57:14 -04:00
Brad King
c2d26d94b3
Merge topic 'fortran-preprocess-property'
...
e939f50410 Ninja: Skip Fortran preprocessing if Fortran_PREPROCESS is OFF
59d88ba1fb Ninja: Add helper functions to generate Fortran build
74933de931 Ninja: Add helper functions to generate Fortran preprocess rule
4f6c32500b Fortran: Add Fortran_PREPROCESS property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4659
2020-05-22 10:35:10 -04:00
Craig Scott
d185d5859d
Merge topic 'cmake_language-rename-from-cmake_command'
...
8aafae1147 cmake_language: Rename command from cmake_command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4774
2020-05-22 10:25:29 -04:00
Brad King
8aafae1147
cmake_language: Rename command from cmake_command
...
Also rename the `INVOKE` signature to `CALL`.
Fixes : #20732
2020-05-21 13:36:52 -04:00
Brad King
889a6df3db
Merge topic 'multi-ninja-pch-msvc'
...
2526b05ebf Multi-Ninja: Fix PCHs for Visual C++
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4771
2020-05-21 11:52:12 -04:00
Peter Hill
4f6c32500b
Fortran: Add Fortran_PREPROCESS property
...
Issue: #18870
2020-05-21 11:44:14 -04:00
Brad King
555c7bd005
Merge topic 'ctest-log-environment'
...
f43d468f99 CTest: Log environment variables as a test measurement
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4760
2020-05-20 09:11:03 -04:00
Cristian Adam
2526b05ebf
Multi-Ninja: Fix PCHs for Visual C++
...
Fixes : #20711
2020-05-20 11:20:38 +02:00
Kyle Edwards
f43d468f99
CTest: Log environment variables as a test measurement
2020-05-19 10:26:57 -04:00
Brad King
4c6e86a8e5
Merge topic 'fetchcontent-SOURCE_SUBDIR'
...
988ce8fafc FetchContent: Add support for SOURCE_SUBDIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4757
2020-05-18 12:31:54 -04:00
Craig Scott
988ce8fafc
FetchContent: Add support for SOURCE_SUBDIR
...
Fixes : #19875
2020-05-16 17:01:10 +10:00
Raul Tambre
0147ac906d
CUDA: Add support for Clang compiler
...
When crosscompiling we pass the sysroot.
We need to try various architecture flags. Clang doesn't automatically
select one that works. First try the ones that are more likely to work
for modern installations:
* <=sm_50 is deprecated since CUDA 10.2, try sm_52 first for
future compatibility.
* <=sm_20 is removed since CUDA 9.0, try sm_30.
Otherwise fallback to Clang's current default. Currently that's `sm_20`,
the lowest it supports.
Separable compilation isn't supported yet.
Fixes : #16586
2020-05-15 17:46:51 +03:00
Brad King
a000ab88dc
Merge topic 'backport-3.16-FindPkgConfig-isystem'
...
c49fcfa018 Help: Add 3.16.7 release note for FindPkgConfig '-isystem' fix
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4752
2020-05-15 10:32:49 -04:00
Brad King
a42b00f56d
Merge topic 'source_file_scopes'
...
a3bd440797 set_source_files_properties: Allow specification of directory scope
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4661
2020-05-15 09:58:03 -04:00
Brad King
c49fcfa018
Help: Add 3.16.7 release note for FindPkgConfig '-isystem' fix
...
Add a release note for the change in commit 726f6f429c (FindPkgConfig:
also handle "-isystem" prefixes for include directories, 2020-04-30).
2020-05-15 09:46:06 -04:00
Brad King
ce172f6f34
Merge topic 'objc-env-vars'
...
a54fa59e46 Help: Add 3.17.3 release note for Objective C/C++ compiler selection
c0719a825f Merge branch 'backport-3.16-objc-env-vars' into objc-env-vars
fd0698ccaa Objective C/C++: Honor CC and CXX env vars to select compiler
0f35381890 Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4746
2020-05-15 09:15:46 -04:00
Alexandru Croitor
a3bd440797
set_source_files_properties: Allow specification of directory scope
...
Both set_source_files_properties() and set_property(SOURCE) now accept
two new optional arguments: DIRECTORY and TARGET_DIRECTORY.
The DIRECTORY option takes a list of relative or absolute paths
pointing to processed source directories (add_subdirectory was
already called on them).
These paths specify directory scopes where the source file properties
will be set. Previously the scope was always the currently processed
source directory.
Similarly TARGET_DIRECTORY takes a list of targets, whose source
directories will be used as the list of scopes where to set the
source file properties.
get_property() and get_source_file_property() also get the same
new arguments, except only one value can be specified instead
of a list.
Fixes : #20128
2020-05-14 16:31:22 +02:00
Brad King
a54fa59e46
Help: Add 3.17.3 release note for Objective C/C++ compiler selection
...
Port the 3.16.7 release note for 3.17.3 too.
2020-05-14 07:28:46 -04:00
Brad King
c0719a825f
Merge branch 'backport-3.16-objc-env-vars' into objc-env-vars
2020-05-14 07:27:24 -04:00
Brad King
fd0698ccaa
Objective C/C++: Honor CC and CXX env vars to select compiler
...
If the `OBJC` or `OBJCXX` environment variable is not set to specify an
Objective C or C++ compiler, check `CC` or `CXX` too.
Fixes : #20703
2020-05-14 07:17:48 -04:00
Brad King
beb48bc123
Merge topic 'FindPython-IronPython-support'
...
da5fecfbf6 FindPython: Add IronPython support on all platforms
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4730
2020-05-13 07:41:45 -04:00
Brad King
5006a435c4
Merge topic 'source_group_forward_slashes'
...
d66ce8f7c7 source_group: Support forward slashes in group hierarchy
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4727
2020-05-11 10:14:24 -04:00
Marc Chevrier
da5fecfbf6
FindPython: Add IronPython support on all platforms
2020-05-11 14:02:59 +02:00
Craig Scott
d66ce8f7c7
source_group: Support forward slashes in group hierarchy
...
Fixes : #18076
2020-05-11 08:15:25 +10:00
Robert Maynard
e60215ed46
Unity Builds: Support explicit specification of sources to groups
...
Instead of having CMake determine which files should go into each
unity file, the user can now use explicitly state the mapping.
2020-05-07 11:13:34 -04:00
Brad King
1da6f450d4
Merge branch 'backport-3.17-FindPkgConfig-isystem' into FindPkgConfig-isystem
2020-05-06 07:48:23 -04:00
Brad King
c8d106053e
Help: Add 3.17 release note for FindPkgConfig '-isystem' fix
2020-05-06 07:46:35 -04:00
Marc Chevrier
74f6b9f980
FindPython: Add support for 'PyPy'
2020-05-01 15:03:04 +02:00
Brad King
2415b49c31
Merge topic 'FPHSA-handle-components'
...
fcdccad025 FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specified
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4690
2020-05-01 08:33:30 -04:00
Brad King
959ece6647
Merge topic 'CTestCoverageCollectGCOV-compress-opts'
...
61bb386867 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option
8bf7ee8864 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build
e506cfcb00 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4649
2020-05-01 08:28:50 -04:00
Kelly (KT) Thompson
61bb386867
CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option
...
For large projects, the default bzip2 compression of gcov data is
prohibitively expensively (could take several hours). Introduce options
that allow the consumer to choose between file size and compression time.
Add a new optional argument `TARBALL_COMPRESSION` for the macro
`ctest_coverage_collect_gcov`. This option accepts the values `GZIP`,
`BZIP2`, `XZ`, `FROM_EXT`, or an expression that evaluates to `FALSE`.
The default value is `BZIP2` to preserve prior behavior.
Fixes : #20593
2020-04-30 08:42:00 -04:00
Marc Chevrier
fcdccad025
FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specified
...
Fixes : #20655
2020-04-30 10:54:36 +02:00
Brad King
a636310718
Merge topic 'vs_platform_toolset'
...
d1e401c586 VS: Add option for per-target PlatformToolset
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4682
2020-04-29 10:50:42 -04:00