Ryan Pavlik
427808d09a
build: Use version script in Meson build too.
2020-04-27 17:33:43 -05:00
Ryan Pavlik
95b5c03f10
build: Relink if version script changes.
2020-04-27 17:33:38 -05:00
Ryan Pavlik
a11f5cc429
target/oxr: Mark the runtime target as a module, not a shared library.
2020-04-24 20:34:53 +00:00
Jakob Bornecrantz
945f2c82ed
targets: Move xrt_instance implementation into targets
2020-04-11 12:31:58 +01:00
Jakob Bornecrantz
c39cb39643
st/oxr: Use new xrt_instance object
2020-04-10 13:48:18 +01:00
Ryan Pavlik
a974562d43
t/openxr: Unify configured files for Meson and CMake.
2020-03-23 17:29:43 -05:00
Ryan Pavlik
377ae07e53
xrt: Add missing SPDX tags
2020-03-23 17:29:43 -05:00
Ryan Pavlik
09c189b6ba
build: Install more targets
2020-03-23 17:29:43 -05:00
Ryan Pavlik
fe40691052
build: Start using version script to reduce the number of exported symbols
2020-03-04 09:55:16 -06:00
Ryan Pavlik
71c29425d4
build: Fix linking issues preventing the OpenXR runtime from working.
2020-03-04 09:54:47 -06:00
Ryan Pavlik
92205ab5be
build: Refactor CMake build to use static libraries instead of object bundles.
...
This allows transitive dependencies to work easier and improves compatibility.
It takes a little bit more storage at build time, and possibly a little extra time.
2020-03-04 11:15:35 +00:00
Jakob Bornecrantz
0619190d2b
build: Refactor how config defines are handled
...
With loads of changes from Ryan.
2020-03-03 10:33:14 +00:00
Jakob Bornecrantz
ca3c266dc1
comp: Split client and main in the build system as well
2020-03-02 12:01:04 +00:00
Jakob Bornecrantz
09aa8794b2
aux/vk: Refactor out helper code into own library
2020-03-02 11:58:40 +00:00
Ryan Pavlik
871395d5b5
build: Adjust meson build equivalently
2020-01-14 12:28:23 -06:00
Ryan Pavlik
c123195800
t/oxr: Fix type issue with sdl2 code
2020-01-09 17:35:54 -06:00
Ryan Pavlik
13c099f59e
xrt: Fix for mismatched parameter names
2020-01-09 22:54:01 +00:00
Ryan Pavlik
5c830f16b2
t/oxr: Fix linking in absence of SDL2
2019-12-07 18:25:37 +00:00
Christoph Haag
b17f1c2f97
st/oxr: Initialize sdl on main thread
...
Calling SDL_Init() in different threads in the same process crashes.
In this SDL2 code X11_XOpenDisplay() will be a null pointer on the second thread;
if (SDL_X11_LoadSymbols()) {
display = X11_XOpenDisplay(NULL);
This becomes a problem when monado starts the debug UI in a thread,
and then an OpenXR client application tries to initialize SDL.
Two consecutive SDL_Init() in the same thread is harmless though.
2019-11-17 13:59:21 +00:00
Jakob Bornecrantz
a29dd8c0a4
st/oxr: Improve destruction of GUI hack
2019-11-09 12:53:42 +00:00
Jakob Bornecrantz
8301bd8d4c
external: Refactor out sdl functions from main cimguo.cpp
2019-10-22 21:37:03 +01:00
Jakob Bornecrantz
e56271d968
st/oxr: Add super hacky debug gui
2019-10-15 20:54:57 +01:00
Drew DeVault
202d1d72aa
openxr/meson.build: remove install: true
...
This removes the meson feature warnings.
2019-10-10 22:58:10 +00:00
Jakob Bornecrantz
e327d56bf4
aux/ogl: Introduce a single small OpenGL library
2019-10-09 17:07:23 +01:00
Lubosz Sarnecki
979536dd4b
xrt/comp/cmake: Enable build of Wayland backend.
...
Add pkgconfig based Wayland build including protocol generation.
2019-10-02 12:22:42 +02:00
Drew DeVault
064aef3526
build: port to meson
2019-09-26 15:05:22 +00:00
Benjamin Saunders
c111f528b8
oxr: Optionally install as the default runtime
2019-08-19 12:09:49 -05:00
Ryan Pavlik
e824b83112
st/oxr: Install manifest to major version "1" subdir
2019-08-17 03:31:40 +00:00
Ryan Pavlik
c048bc0052
targets: Clang-tidy fixes (name consistency)
2019-08-16 17:25:29 -05:00
Benjamin Saunders
dbbfe8e455
Handle CMAKE_INSTALL_LIBDIR being absolute
...
This seems to be common in distro packaging environments.
2019-08-16 14:52:45 +00:00
Ryan Pavlik
c5fea837f3
oxr: Allow relative vs absolute manifest path to be selected at configure time.
2019-06-19 08:15:08 -07:00
Ryan Pavlik
88efae1078
oxr: Generate the dev manifest using the same template as installed.
2019-06-19 08:15:08 -07:00
Ryan Pavlik
fc98db1439
oxr: Use an absolute path in the installed runtime manifest.
2019-06-19 08:15:08 -07:00
Ryan Pavlik
66086c1b0b
oxr: Reduce proportion of install that's platform-guarded
2019-06-19 08:15:08 -07:00
Benjamin Saunders
40d8446ba8
oxr: Use absolute path of runtime library in manifest
...
Improves robustness when there might be multiple libraries by the same
name visible to the loader.
2019-06-19 08:15:08 -07:00
Ryan Pavlik
02be89bf35
targets: De-duplicate conditional inclusion of driver objects/libraries.
2019-06-18 18:44:17 +00:00
Jakob Bornecrantz
b71e143eaa
d/psmv: Add PS Move driver
2019-06-18 17:56:10 +01:00
Jakob Bornecrantz
702eba0f53
openxr: Use prober target
2019-05-16 20:41:35 +01:00
Jakob Bornecrantz
e2bd986bc5
os: Add a minimal hidraw wrapper
2019-05-13 18:26:02 +01:00
Jakob Bornecrantz
d9cdd04b7a
openxr: Don't unconditionally link with OpenHMD driver
2019-05-13 18:09:40 +01:00
Jakob Bornecrantz
83159a02c1
d/psvr: Add to meta prober and OpenXR target
...
Still hidden behind a env variable.
2019-05-06 16:46:10 +00:00
Jakob Bornecrantz
dc9ab44a5a
xrt: Rename xrt_prober to xrt_auto_prober
2019-05-03 18:53:07 +01:00
Jakob Bornecrantz
9c05e853cc
build: Refactor flags and definitions (and fix fallout)
...
Defines:
* XRT_HAVE_[name] is a external dep indicator.
* XRT_DRIVER_[name] if a internal driver is built.
CMake variables:
* BUILD_WITH_[name] is a external dep indicator.
* BUILD_DRIVER_[name] tells if we should build a specific driver.
2019-04-29 17:18:09 +01:00
Jakob Bornecrantz
2d6b3c2113
openxr: Use meta prober
2019-04-15 09:52:44 +01:00
Ryan Pavlik
917366a730
build: Fix typo.
...
Left over from an abandoned alternate approach.
2019-04-08 15:19:18 -05:00
Ryan Pavlik
d4b47a0edb
build: Don't say CMAKE_INSTALL_PREFIX in an install destination
...
This can make it harder for packagers, or at least isn't
"best practices" without a good reason.
2019-04-08 19:11:04 +00:00
Ryan Pavlik
5cfa0907b6
build: Use and obey config options for driver selection.
...
We had BUILD_WITH_OPENHMD but it was unused,
while the HDK driver always built if the deps were found.
2019-04-08 19:11:04 +00:00
Ryan Pavlik
eec53ca35d
build: Use FindOpenHMD.
...
Fixes a gripe/todo in the build system, too :D
2019-04-08 19:11:04 +00:00
Benjamin Saunders
f016492a81
build: Add missing GLX dependency
...
Fixes loading by applications that do not themselves link GLX.
2019-03-22 20:11:51 -07:00
Jakob Bornecrantz
15a97422ba
xrt: Add all of Monado
2019-03-18 05:52:32 +00:00