Commit graph

43 commits

Author SHA1 Message Date
Ryan Pavlik c718d69dae cmake: Put the manifest generation in a CMake module.
Will make it easier to modify/customize and
integrate the trampoline.
2022-04-21 17:17:16 -05:00
Ryan Pavlik b807742107 cmake: More fixes for the Percetto module. 2022-03-23 14:04:19 -05:00
Ryan Pavlik 8bfb4b3d09 cmake: Update to handle newer Percetto cmake build details 2022-03-23 11:22:10 -05:00
Jakob Bornecrantz 8d660b6994 cmake: Make it possible to select SPIR-V version to target 2022-03-22 15:19:48 +00:00
Ryan Pavlik 9626a8d575 cmake: Don't use pkgconfig on Android.
It tends to pick up host libraries.
2021-09-27 09:26:15 -05:00
Ryan Pavlik 0fec29687a cmake: Switch to a new FindPercetto module. 2021-09-27 09:23:09 -05:00
Moses Turner 4b5f4b9721 cmake: Add ONNX Runtime as a dependency for the handtracking driver
Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>

cmake-rebase
2021-09-03 21:06:18 +00:00
Christoph Haag cf93be263f cmake: Add lib/x64 path for leap motion v2
When downloading and extracting the leap developer kit:

Headers:
LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/include

Libs:
LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/lib/x64

With this change cmake finds the SDK with
-DLeapV2_ROOT_DIR=/path/to/LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/
2021-08-26 00:44:57 +02:00
Jakob Bornecrantz de03b1c931 cmake: Add SPDX license identifiers to sanitizers 2021-08-16 21:18:52 +01:00
Moses Turner 8c9483d193 cmake: Add address sanitizers 2021-08-16 21:18:52 +01:00
Moses Turner 7461c57043 cmake: make ulv2 build a little better 2021-06-23 23:40:43 +01:00
Ryan Pavlik 111d353662 cmake: Make the git version detection more robust 2021-04-09 18:11:28 -05:00
Christoph Haag 2855616e32 build/cmake: Fix udev related warning
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (UDEV) does
  not match the name of the calling package (udev).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Findudev.cmake:64 (find_package_handle_standard_args)
  CMakeLists.txt:71 (find_package)
2020-11-09 00:32:02 +01:00
Ryan Pavlik db952b277c cmake: Add SDPX tags 2020-11-02 17:04:51 +00:00
Ryan Pavlik cb767c7705 cmake: Fix FindOpenGLES 2020-10-28 09:32:49 -05:00
Jakob Bornecrantz 2528583c55 xrt: Add git tag/description 2020-10-20 17:43:11 +01:00
Ryan Pavlik 72662d91c1 cmake: Update scripts from shared module repo. 2020-08-06 14:52:46 +00:00
Ryan Pavlik 24e0202e3a cmake: Make FindHIDAPI add include dirs to imported targets 2020-07-22 16:17:09 +00:00
Ryan Pavlik ccbd087dc2 cmake: Add FindOpenGLES.cmake 2020-07-17 15:17:42 -05:00
Ryan Pavlik 9379248268 build: Add FindEigen3.cmake from upstream, to support pointing at the include dir. 2020-07-16 10:04:01 -05:00
Ryan Pavlik 6b0831466e cmake: Add missing modules 2020-05-28 19:46:14 +00:00
Ryan Pavlik 5935fad73b ipc: Add ability for service to be launched by systemd socket activation. 2020-05-07 16:54:11 -05:00
Ryan Pavlik 67a2c26295 build: Add FindSystemd.cmake
From https://github.com/Cloudef/wlc/blob/master/CMake/FindSystemd.cmake
2020-05-07 15:46:29 -05:00
Ryan Pavlik 7fab448cf0 build: Support building with system cJSON.
Fixes #62.
2020-04-24 20:34:53 +00:00
Ryan Pavlik 377ae07e53 xrt: Add missing SPDX tags 2020-03-23 17:29:43 -05:00
Ryan Pavlik 7db8a153a6 FindHIDAPI: Actually fix the underlying issue. 2020-03-03 17:30:45 -06:00
Ryan Pavlik b9ff8ff32f FindHIDAPI: Fix error if HDIAPI not found 2020-03-03 10:33:14 +00:00
Ryan Pavlik 6df97aad00 build: Make FindEGL work without the KDE modules 2020-01-14 11:51:12 -06:00
Ryan Pavlik a8ac420f06 build: Add FindEGL.cmake from KDE's extra-cmake-modules 2020-01-14 11:51:12 -06:00
Ryan Pavlik 4687955b17 FindOpenHMD: Handle transitive link of libhidapi better. 2020-01-14 11:51:12 -06:00
Lubosz Sarnecki 871f6bfc87 cmake: Remove unused and deprecated FindWayland.cmake script.
Martin Gräßlin's script from 2013 does not look for the
Wayland protocols directory and the scanner.
2019-10-02 12:22:36 +02:00
Ryan Pavlik 7a36e9eaf3 build: Add FindLibusb1.cmake 2019-06-28 17:38:29 +01:00
Christoph Haag 706e916bdb build: Add ${OPENHMD_ROOT_DIR}/build to OpenHMD library search 2019-06-05 12:34:08 +02:00
Jakob Bornecrantz ade0594914 build: Add libudev on Linux 2019-05-02 14:08:11 +01:00
Jakob Bornecrantz 1436dcaea8 build: Fix typos in hidapi cmake file 2019-05-02 14:08:11 +01:00
Ryan Pavlik 35f62087be cmake: Use pkg-config to help know if we need libsubunit. 2019-04-09 10:36:59 -05:00
Ryan Pavlik dc513e032b cmake: Fix FindLibcheck - doesn't always require libsubunit 2019-04-09 10:36:54 -05:00
Ryan Pavlik 606ee6ca41 cmake: Quote more strings in if(). 2019-04-08 15:18:57 -05:00
Ryan Pavlik d7850f2c79 cmake: Fix quoting issue in FindOpenHMD.cmake 2019-04-08 14:34:51 -05:00
Ryan Pavlik 78007e4670 fixup other two 2019-04-08 19:11:04 +00:00
Ryan Pavlik a06e8c237e cmake: Add a new FindOpenHMD and FindLibcheck.
FindLibcheck name used because there is a supplied FindCheck.cmake from upstream
that isn't as robust as we might want.
2019-04-08 19:11:04 +00:00
Ryan Pavlik d1b76db672 cmake: Overhaul FindHIDAPI to handle multiple backends 2019-04-08 19:11:04 +00:00
Jakob Bornecrantz 15a97422ba xrt: Add all of Monado 2019-03-18 05:52:32 +00:00