aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindXCB.cmake
AgeCommit message (Collapse)Author
2022-08-08[FindXCB] Remove special treatment for XINPUTNicolas Fella
By now everyone should have it Warning that it is unstable is just producing noise If someone really doesn't have it available the caller must not request it
2022-06-07FindXCB: fix typo in warningv5.95.0-rc1v5.95.0Samuel Gaist
The message read odd with the missing be
2021-04-23Modules docs: move rst docs into bracket commentsFriedrich W. H. Kossebau
CMake >= 3.0 supports bracket comments, and the reStructuredText integration code in sphinx/ext/ecm.py already supports extracting the docs from a bracket comment instead. Editing documentation without leading line comment markers is more simple, e,g. when reflowing text over lines. With ECM meanwhile requiring CMake 3.5 now it is possible to switch (and thus follow also the approach used by cmake itself). NO_CHANGELOG
2020-06-14extra-cmake-modules: Convert to SPDX license statementsAndreas Cord-Landwehr
2019-01-09Use more https in linksFriedrich W. H. Kossebau
2015-11-17Do not find XCB's XINPUT library by default.Alex Merry
The XINPUT library is unlikely to be available on many systems, including a lot of Linux distributions. This will warn developers in advance by (a) not searching for XINPUT unless it was explicitly requested, and (b) printing a warning if they do request it. REVIEW: 125935
2015-02-06Document when modules were added to ECM.Alex Merry
2014-11-07Do not skip searching for X11 and Wayland on WindowsAlex Merry
While the search is unlikely to succeed on Windows, having different behaviour between the platforms (eg: find_package(Wayland REQUIRED) was not fatal on Windows, even though Wayland_FOUND would always be FALSE) is not ideal, and if someone did port them to Windows for some reason, the find modules should support that. If applications actually want different behaviour between platforms (like requiring a module on Unix, but not on Windows), they should implement that logic themselves (since they will have to deal with targets not being defined, etc, anyway). REVIEW: 120481
2014-04-25Add a stub for ECMFindModuleHelpers to the find-modules dirAlex Merry
ECMUseFindModules allows find modules to be copied to a local directory. These find modules may use ECMFindModuleHelpers, but they will not be in the same relative location to ECMFindModuleHelpers.cmake and there is no guarantee that ECMFindModulesHelpers.cmake will be in the CMake module path. To solve this, we make sure there is always a stub file in the same directory as the find modules that includes the real ECMFindModuleHelpers.cmake. The one installed with ECM just includes "../modules/ECMFindModuleHelpers.cmake", while ecm_use_find_modules generates a stub that uses an absolute path. REVIEW 117658
2014-04-25ECMFindModuleHelpers: set traditional variablesAlex Merry
The traditional *_LIBRARIES, *_INCLUDE_DIRS and *_DEFINITIONS do have some uses - they make it easier to create package config files that use found libraries in their link interface. So this makes sure these variables are set by ecm_find_package_handle_library_components() (and hence by FindWayland.cmake and FindXCB.cmake). REVIEW: 117585
2014-04-11Add documentation generation using SphinxAlex Merry
This is deliberately modelled very closely on CMake's documentation system. It's a hefty patch, because it involved changing all the documentation to be in reStructuredText format. I also cleaned up the copyright/license statements at the same time. Note that the find modules contain the full license, due to the fact that ecm_use_find_module() copies them out of the ECM distribution.
2014-03-17Create ECMFindModuleHelpers module for common find-module codeAlex Merry
This currently mostly contains macros for handling components; FindWayland and FindXCB are ported to use this module, which comes with various improvements for them. REVIEW: 116653
2014-02-25Improve FindXCBMartin Gräßlin
* define imported targets for all components * add version information * print message on Windows * add package properties * use handle components REVIEW: 116046
2013-09-09Use components in FindXCBMartin Gräßlin
Instead of finding all or nothing from XCB it becomes components aware. So a user can just specify which XCB components it needs and compilation doesn't fail if a not-needed unrelated component is not found. It also allows to have some components as required and some as optional. REVIEW: 112151
2013-03-14Add support for xcb-keysyms to FindXCBMartin Gräßlin
Already used in kde-workspaces. REVIEW: 109479
2012-10-31Add XCB find modules by Fredrik Höglund <fredrik@kde.org>David Faure
At least one bug: XCB_INCLUDE_DIR contains NOTFOUND if at least one module is missing (e.g. UTIL and EWMH, here), which makes XCB_FOUND false. Please review, and port to FIND_PACKAGE(XCB COMPONENTS ...) CCMAIL: kde-buildsystem@kde.org