Commit Graph

15 Commits

Author SHA1 Message Date
Kitware Robot
0b96ae1f6a Revise C++ coding style using clang-format with "east const"
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`, now with "east const" enforcement.
Use `clang-format` version 18.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.

Issue: #26123
2025-01-23 13:09:50 -05:00
Komasan Zura
f2873fcf98 FindX11: Add missing Xpresent
The Xlib interface to the Xpresent extension was missing from the FindX11 module, so I put it in. The xcb interface is already present.
Xpresent project page: https://gitlab.freedesktop.org/xorg/lib/libxpresent
2025-01-19 23:08:03 -05:00
Moses Miller
65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests 2023-04-28 14:54:35 -07:00
Moses Miller
922a97f38a FindX11: Add tests for newly added xcb libraries 2023-04-25 10:05:59 -04:00
Moses Miller
7a2b02e000 FindX11: Fix existing tests 2023-04-25 10:05:59 -04:00
Moses Miller
9d21d115c6 FindX11: Add more components to FindX11 tests 2023-04-25 10:05:59 -04:00
Ben Boeckel
0cca309dfd FindX11: support the xcb-{cursor,shape,xrm} components
Fixes: #24417
2023-02-27 17:40:48 -05:00
Ben Boeckel
e7d7710cf2 Tests/FindX11: fix preprocessor check for xcb_xrandr component 2023-02-27 17:40:31 -05:00
planc
ce28748ced FindX11: add xcb-xtest and xcb-keysyms 2022-03-10 11:41:31 -05:00
Matthew Smith
364798fa6b FindX11: Add xcb_randr library 2022-03-08 22:18:46 +00:00
Tim Blechmann
6d231b494f FindX11: Add xcb_util and xcb_xfixes libraries 2020-08-12 14:01:01 +08:00
Kurt Sansom
fa7157b86d FindX11: Add Xaw libraries
Fixes: #20963
2020-07-16 14:16:24 -05:00
Zsolt Parragi
77802aab97 FindX11: Find additional libraries
With this change, FindLibrary(X11) learns about the following libraries:

 * xcb
 * X11-xcb
 * xcb-icccm
 * xcb-xkb
 * xkbcommon
 * xkbcommon-X11
2020-03-04 16:55:32 +01:00
Marc Chevrier
185fe49f29 clang-format: Normalize headers presentation
By using clang-format directives 'IncludeBlocks' and 'IncludeCategories'
headers are regrouped by categories:
1. "cmConfigure.h" which must be first
2. header matching current implementation file
3. standard language headers
4. CMake replacement ones
5. external  headers (i.e. #include directive with '<' and '>')
6. Qt headers
7. cmsys/* headers
8. cm_* headers
9. CMake headers (i.e. starting with 'cm[A-Z]')
10. all other headers

Fixes: #19674
2019-10-01 12:25:48 -04:00
Ben Boeckel
bced9d5e56 Tests/FindX11: add a test 2018-11-15 13:08:18 -05:00