Mario Emmenlauer
beb2bbd5b5
Find{BLAS,LAPACK}: Cleanup whitespace, style, and comments
...
Bring whitespace and code style up to date in these scripts. Both
scripts share the same origin but have diverged over time, so
synchronize them again. This is relevant because BLAS and LAPACK
detection is often performed simultaneously, so both scripts should
evolve in sync. While at it, update a few comments.
This update is intended to have no functional changes.
2020-01-21 22:55:17 +01:00
Mario Emmenlauer
972c2cc7ca
FindLAPACK: Fixed order of arguments for internal helper macro
2020-01-21 22:54:15 +01:00
Mario Emmenlauer
7346a3226f
Find{BLAS,LAPACK}: Clarify names of internal helper macro
...
Also clarify names of their arguments.
2020-01-20 11:30:53 -05:00
Kitware Robot
5e38b8f608
CMake Nightly Date Stamp
2020-01-20 00:01:13 -05:00
Craig Scott
3452f2d4c2
Merge branch 'release-3.16'
2020-01-19 15:10:17 -05:00
Craig Scott
6bd07b9de1
Merge topic 'pch-msvc-no-path-repetition'
...
07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Craig Scott
582cc710c2
Merge topic 'pch-msvc-no-path-repetition' into release-3.16
...
07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Kitware Robot
cd08cb7b8c
CMake Nightly Date Stamp
2020-01-19 00:01:08 -05:00
Kitware Robot
5b4b808cb4
CMake Nightly Date Stamp
2020-01-18 00:01:15 -05:00
Brad King
93d4148612
Merge topic 'step5'
...
fc2d1b1347 Tutorial: Clarify Step 5
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4231
2020-01-17 09:42:32 -05:00
Brad King
a7fca06c46
Merge topic 'out-of-dir-link-list'
...
f0e67da061 target_link_libraries: Fix out-of-dir linking of a list of targets
acee629103 cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
ba675f1ecc Tests: Enable CMP0022 in ExportImport out-of-dir linking case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4226
2020-01-17 09:41:10 -05:00
Brad King
cd6f6b2a9f
Merge topic 'cmake-ctest-arguments'
...
4153d8445b Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4168
2020-01-17 09:40:23 -05:00
Brad King
796d66438b
Merge topic 'rename-cross-config-variable'
...
310b58e961 Ninja Multi-Config: Rename variable to be more consistent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4234
2020-01-17 09:39:32 -05:00
Brad King
85e959b727
Merge topic 'feature/cmSourceFile-avoid-unnecessary-copy'
...
5da3d01fd1 cmSourceFile: avoid unnnecessary copies
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4233
2020-01-17 09:38:45 -05:00
Brad King
f80437ad34
Merge topic 'csharp-default-langversion'
...
2e882b4275 CSharp: Set C# compiler to default version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4232
2020-01-17 09:37:57 -05:00
Brad King
7dad7ea4ac
Merge branch 'release-3.16'
2020-01-17 09:25:24 -05:00
Brad King
9409ea2c4e
Merge topic 'findopenssl-dependencies-link-order'
...
d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4235
2020-01-17 09:25:24 -05:00
Brad King
4c907eae69
Merge topic 'findopenssl-dependencies-link-order' into release-3.16
...
d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4235
2020-01-17 09:25:23 -05:00
Craig Scott
808888aa47
Merge topic 'cpack-custom-dmg-names'
...
6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
b53230fbee Tests: Add DragNDrop as a testable CPack generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4227
2020-01-17 08:33:01 -05:00
Kitware Robot
c9836f8a88
CMake Nightly Date Stamp
2020-01-17 00:01:14 -05:00
Betsy McPhail
fc2d1b1347
Tutorial: Clarify Step 5
2020-01-16 15:54:01 -05:00
Brad King
f0e67da061
target_link_libraries: Fix out-of-dir linking of a list of targets
...
In a case like
target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>")
then all entries in the list need to be looked up in the caller's
scope. Previously our `::@(directory-id)` suffix would apply only
to the last entry. Instead surround the entire entry by a pair
`::@(directory-id);...;::@` so that the `::@` syntax can encode
a directory lookup scope change evaluated as the list is processed.
Fixes : #20204
2020-01-16 13:24:27 -05:00
Brad King
acee629103
cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
2020-01-16 11:53:52 -05:00
Cristian Adam
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
...
Fixes : #19952
2020-01-16 17:05:05 +01:00
Andrew Fuller
6d6f4b9316
CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
2020-01-16 08:04:35 -08:00
Andrew Fuller
b53230fbee
Tests: Add DragNDrop as a testable CPack generator
2020-01-16 08:04:35 -08:00
Brad King
3a5cc52f07
Merge branch 'release-3.16'
2020-01-16 10:56:03 -05:00
Brad King
b2edb72642
Merge topic 'nag-submodule'
...
f7f60ddcf9 Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4229
2020-01-16 10:56:03 -05:00
Brad King
8cd35baae9
Merge topic 'nag-submodule' into release-3.16
...
f7f60ddcf9 Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4229
2020-01-16 10:56:02 -05:00
Ashley Whetter
d2880aaa06
FindOpenSSL: Fix ordering of dependency link flags
...
Fixes : #20082 , #20224
2020-01-16 10:53:19 -05:00
Brad King
2a850232fc
Merge topic 'cpack-nsis-test'
...
b796749ba8 Tests: Fix CPackNSISGenerator test on non-x86 Windows platforms
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4230
2020-01-16 10:40:56 -05:00
Kyle Edwards
310b58e961
Ninja Multi-Config: Rename variable to be more consistent
...
Also make some tweaks to the documentation.
2020-01-16 10:34:43 -05:00
Brad King
05738b5f21
Merge topic 'pch_job_pool'
...
97c124e30f Ninja: Add a separate job pool for PCH creation
ebd0b16ddb vim: Add target_precompile_headers command highlighting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4224
2020-01-16 10:33:48 -05:00
Dan Johnston
97c124e30f
Ninja: Add a separate job pool for PCH creation
...
Add a `JOB_POOL_PRECOMPILE_HEADER` target property to specify the pool
name, and its associated `CMAKE_JOB_POOL_PRECOMPILE_HEADER` variable.
Fixes : #20217
2020-01-16 10:32:25 -05:00
Dan Johnston
ebd0b16ddb
vim: Add target_precompile_headers command highlighting
2020-01-16 10:29:26 -05:00
Brad King
c0ac53b90c
Merge topic 'file_download_filename'
...
c0da651c09 file(DOWNLOAD): Don't fail if given just a filename to write to
b56d429324 Tests: Fix CMake.FileDownload test failures not reported
3bc73803b4 Tests: Fix CMake.FileDownload test in presence of proxy
1352585301 Tests: Extend CMake.FileDownload test internal timeouts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4159
2020-01-16 10:26:04 -05:00
Sumit Bhardwaj
2e882b4275
CSharp: Set C# compiler to default version
...
Remove the hard-coded ``/langversion:3`` option and let the compiler
choose the default language version automatically as documented at
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version
Fixes : #17674
2020-01-16 09:34:00 -05:00
Kitware Robot
1e728706de
CMake Nightly Date Stamp
2020-01-16 00:01:15 -05:00
Tim Blechmann
5da3d01fd1
cmSourceFile: avoid unnnecessary copies
...
the copies in `cmSourceFile::FindFullPath` are one of the hotspots of
my build system: we can easily avoid them by capturing by reference
instead of by value
2020-01-16 12:22:25 +08:00
Robert Goulet
4153d8445b
Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
...
Fixes : #20172
2020-01-15 15:02:56 -05:00
Brad King
b796749ba8
Tests: Fix CPackNSISGenerator test on non-x86 Windows platforms
...
In commit ebfffc609e (CPack/NSIS: Add option for setting
MUI_HEADERIMAGE_BITMAP, 2020-01-02) this test was added but only globbed
for 32-bit windows packages. Fix the test to glob for packages of any
architecture.
2020-01-15 14:33:37 -05:00
Neil Carlson
f7f60ddcf9
Fortran: Add support for NAG Fortran submodules
...
They use a `.sub` extension.
Fixes : #20220
2020-01-15 14:12:22 -05:00
Brad King
9f1ce93d92
Merge topic 'add_cuda_toolkit_tests'
...
6e474364d1 CUDAToolkit: No targets now depend on the CUDA runtime
907bb7df57 CUDAToolkit: Gracefully handle missing SDK components
e500eb80cd CUDAToolkit: add_cuda_link_dependency correctly sets dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4183
2020-01-15 13:40:07 -05:00
Brad King
3b3f2474da
Merge topic 'unity-lang-filename' into release-3.16
...
274a6f3699 Unity Build: include language in generated source file name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4223
2020-01-15 13:37:33 -05:00
Brad King
6c23cbca37
Merge branch 'release-3.16'
2020-01-15 13:37:33 -05:00
Brad King
6e6f5afd03
Merge topic 'unity-lang-filename'
...
274a6f3699 Unity Build: include language in generated source file name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4223
2020-01-15 13:37:33 -05:00
Brad King
c2d1e78603
Merge branch 'release-3.16'
2020-01-15 13:36:36 -05:00
Brad King
f0986f62a8
Merge topic 'python39' into release-3.16
...
f6474214b3 FindPython: Add support for version 3.9
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com>
Acked-by: Björn Esser <besser82@fedoraproject.org>
Merge-request: !4225
2020-01-15 13:36:35 -05:00
Brad King
513c7bf515
Merge topic 'python39'
...
f6474214b3 FindPython: Add support for version 3.9
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com>
Acked-by: Björn Esser <besser82@fedoraproject.org>
Merge-request: !4225
2020-01-15 13:36:35 -05:00
Brad King
2272d256fb
Merge topic 'ctest-timeout-on-pipe'
...
d1976cd1f2 CTest: Fix timeout when grandchild keeps pipes open
2f5eb1800b Tests: Add RunCMake.CTestTimeout test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4217
2020-01-15 13:35:51 -05:00