Commit Graph

52170 Commits

Author SHA1 Message Date
Robert Maynard
400536c317 cmCommandLineArgument: trim leading empty spaces 2021-03-09 14:35:49 -05:00
Robert Maynard
b227a9565e cmake: configure preset add support for --install-prefix mapping 2021-03-09 13:53:16 -05:00
Robert Maynard
38140713ad cmake: add support for --install-prefix command argument
Fixes: #21781
2021-03-04 10:50:24 -05:00
Brad King
a88efbc9cf Merge topic 'cpack-dmg-filesystem'
e3ac388738 cpack: add CPACK_DMG_FILESYSTEM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5873
2021-03-03 09:07:29 -05:00
Brad King
3aec26660a Merge topic 'nasm_add_deps'
48e74ec1e6 ASM_NASM: generate depfiles for other makefiles
fcf16e9459 ASM_NASM: Add depfile generation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5868
2021-03-03 09:06:06 -05:00
Brad King
2a902fec28 Merge branch 'release-3.20' 2021-03-03 09:04:31 -05:00
Brad King
594483728c Merge topic 'ci-nightly-ide-jobs'
e5698605d7 gitlab-ci: ignore failing tests for external IDE testing
beb130c65d gitlab-ci: allow some jobs to ignore failing tests on nightly runs
18d6737e96 gitlab-ci: always upload test and release artifacts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5871
2021-03-03 09:04:31 -05:00
Brad King
97944e01b0 Merge topic 'ci-nightly-ide-jobs' into release-3.20
e5698605d7 gitlab-ci: ignore failing tests for external IDE testing
beb130c65d gitlab-ci: allow some jobs to ignore failing tests on nightly runs
18d6737e96 gitlab-ci: always upload test and release artifacts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5871
2021-03-03 09:04:31 -05:00
Brad King
b0f2d359f4 Merge branch 'release-3.20' 2021-03-03 09:03:34 -05:00
Brad King
d6670c5d1c Merge topic 'compilerid_require_success' into release-3.20
1bd8f19453 CMakeDetermineCompilerId: Fix REQUIRE_SUCCESS with multiple user flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5874
2021-03-03 09:03:34 -05:00
Brad King
aa10501d32 Merge topic 'compilerid_require_success'
1bd8f19453 CMakeDetermineCompilerId: Fix REQUIRE_SUCCESS with multiple user flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5874
2021-03-03 09:03:34 -05:00
Kitware Robot
f63628b704 CMake Nightly Date Stamp 2021-03-03 00:04:22 -05:00
Kevin Ushey
e3ac388738 cpack: add CPACK_DMG_FILESYSTEM
Allow users to configure the filesystem format of the generated `.dmg`
via the `CPACK_DMG_FILESYSTEM` option.

Fixes: #21874
2021-03-02 10:11:15 -05:00
Raul Tambre
1bd8f19453 CMakeDetermineCompilerId: Fix REQUIRE_SUCCESS with multiple user flags
Need to quote the list expansion otherwise we'll try each argument separately.
2021-03-02 16:20:45 +02:00
Brad King
ebb1cd4da7 Merge topic 'sphinx-latexpdf'
5302073010 Help: Add option to generate docs with latexpdf

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5833
2021-03-02 08:47:17 -05:00
Brad King
0d4e93e88b Merge topic 'Tocic-master-patch-04743'
507710438d FindBoost: Fix typo in documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5869
2021-03-02 08:46:41 -05:00
Brad King
b212fba208 Merge topic 'FindOpenGL-GLX-no-GLVND' into release-3.20
fb4b2ed0d3 FindOpenGL: handle GLX without GLVND

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5861
2021-03-02 08:45:59 -05:00
Brad King
aa30ad8d1e Merge branch 'release-3.20' 2021-03-02 08:45:59 -05:00
Brad King
579c383336 Merge topic 'FindOpenGL-GLX-no-GLVND'
fb4b2ed0d3 FindOpenGL: handle GLX without GLVND

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5861
2021-03-02 08:45:59 -05:00
Brad King
f95796642b Merge topic 'more-import-export-guide-updates' into release-3.20
74c2ade187 Help/guide: fix the remaining CMake install destinations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5870
2021-03-02 08:45:14 -05:00
Brad King
19cbee6730 Merge branch 'release-3.20' 2021-03-02 08:45:14 -05:00
Brad King
4a8c8be4dd Merge topic 'more-import-export-guide-updates'
74c2ade187 Help/guide: fix the remaining CMake install destinations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5870
2021-03-02 08:45:14 -05:00
Francesco Bertolaccini
48e74ec1e6 ASM_NASM: generate depfiles for other makefiles 2021-03-02 12:27:47 +01:00
Kitware Robot
e6ca675a29 CMake Nightly Date Stamp 2021-03-02 00:01:16 -05:00
Ben Boeckel
e5698605d7 gitlab-ci: ignore failing tests for external IDE testing 2021-03-01 16:06:22 -05:00
Ben Boeckel
beb130c65d gitlab-ci: allow some jobs to ignore failing tests on nightly runs 2021-03-01 15:51:27 -05:00
Ben Boeckel
18d6737e96 gitlab-ci: always upload test and release artifacts 2021-03-01 15:51:07 -05:00
Henryk Paluch
5302073010 Help: Add option to generate docs with latexpdf 2021-03-01 15:28:10 -05:00
Francesco Bertolaccini
fcf16e9459 ASM_NASM: Add depfile generation 2021-03-01 15:21:17 -05:00
Tocic
507710438d FindBoost: Fix typo in documentation 2021-03-01 14:58:10 -05:00
Brad King
11506eb129 Merge topic 'FindDoxygen-policy-warnings'
79fa7529e0 FindDoxygen: Prevent CMP0054 policy warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5864
2021-03-01 14:57:39 -05:00
Brad King
0a8cb26f12 Merge branch 'release-3.20' 2021-03-01 14:56:31 -05:00
Brad King
0034289d06 Merge topic 'compilerid_require_success'
bdc40742bd CMakeDetermineCompilerId: Test without COMPILER_ID_FLAGS if REQUIRE_SUCCESS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5863
2021-03-01 14:56:31 -05:00
Brad King
c829b6179c Merge topic 'compilerid_require_success' into release-3.20
bdc40742bd CMakeDetermineCompilerId: Test without COMPILER_ID_FLAGS if REQUIRE_SUCCESS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5863
2021-03-01 14:56:30 -05:00
Brad King
7a10aa922d Merge topic 'FindIntl-FindIconv-versions'
a9b11a06f5 FindIntl: Add version support
01e9922db5 FindIconv: Add version support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5852
2021-03-01 14:55:10 -05:00
Ben Boeckel
74c2ade187 Help/guide: fix the remaining CMake install destinations
Followup from !5674.
2021-03-01 11:05:14 -05:00
Kitware Robot
653b871cb7 CMake Nightly Date Stamp 2021-03-01 00:01:15 -05:00
Kitware Robot
569547f0c4 CMake Nightly Date Stamp 2021-02-28 00:01:15 -05:00
Craig Scott
47f2d367a4 Merge topic 'FetchContent-docs'
24b467c043 Help: Prefer commit hashes in FetchContent examples for security reasons
ebcb8896e3 Help: Add missing MD5= for URL_HASH in FetchContent example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5834
2021-02-27 23:23:39 -05:00
Craig Scott
79fa7529e0 FindDoxygen: Prevent CMP0054 policy warnings
Fixes: #21871
2021-02-28 11:34:05 +11:00
Raul Tambre
bdc40742bd CMakeDetermineCompilerId: Test without COMPILER_ID_FLAGS if REQUIRE_SUCCESS
If we REQUIRE_SUCCESS, i.e. TEST_FLAGS_FIRST must work, we need to also try
without user flags.

Fixes #21869.
2021-02-27 14:25:26 +02:00
Kitware Robot
9ff169d1a5 CMake Nightly Date Stamp 2021-02-27 00:01:16 -05:00
Ben Boeckel
fb4b2ed0d3 FindOpenGL: handle GLX without GLVND
On Ubuntu, installing `libgl-dev` provides `libGL` and `libGLX`, but no
`libOpenGL`. Avoid defining GLVND targets without the `OpenGL::OpenGL`
target.
2021-02-26 15:36:55 -05:00
Brad King
ea3f09aa40 Merge topic 'include-dir-style'
3e7dd39747 cmLocalGenerator: Simplify some GetIncludeFlag call sites
a133a583d4 cmLocalGenerator: Clarify GetIncludeFlags signature

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5859
2021-02-26 08:28:16 -05:00
Brad King
48c6718d88 Merge topic 'c_17_23'
8211b4706f IntelLLVM: C17 support
b9c3acac02 GNU: C23 support
c9f0613c2a GNU: C17 support
10a72c0f1c Clang: Default C standard doesn't depend on compatibility mode
6c2e309a66 Clang: Set standard flags according to frontend variant
9f81591dbf Clang: MSVC-style C flags
72f4984cdc Clang: C23 support
82239d43f8 Clang: C17 default version
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5783
2021-02-26 08:26:53 -05:00
Kitware Robot
06bc2d065b CMake Nightly Date Stamp 2021-02-26 00:01:16 -05:00
Brad King
3e7dd39747 cmLocalGenerator: Simplify some GetIncludeFlag call sites
The path style argument is meaningful only with the Ninja generator,
so drop it from call sites in Makefile and Xcode generators.
2021-02-25 13:24:54 -05:00
Brad King
a133a583d4 cmLocalGenerator: Clarify GetIncludeFlags signature
Make the `config` argument non-optional so all callers must be explicit.
Convert the path style argument to an enumeration to make its role clear
at call sites.

The path style argument is implemented by `ConvertToIncludeReference`,
which was introduced with the Ninja generator by commit 5b114c9bee
(Introduce a cmLocalGenerator::ConvertToIncludeReference function,
2011-09-07, v2.8.7~187^2~4).  Its only purpose is to allow the Ninja
generator to use relative paths in `-I` flags.  Add a comment explaining
this role.
2021-02-25 13:24:45 -05:00
Raul Tambre
8211b4706f IntelLLVM: C17 support
Issue: #17755
2021-02-25 12:50:45 -05:00
Raul Tambre
b9c3acac02 GNU: C23 support
Added in commit 9f936c861383dc69e0053e34315d5d0262a19e8f, released in 9.1.
2021-02-25 18:22:32 +02:00