bjorn
bb78d266b4
DESKTOP_HEADSET -> DESKTOP;
2021-07-18 22:24:00 -07:00
bjorn
fdb8a2423c
Merge branch 'master' into dev
2021-07-10 09:44:03 -07:00
mcc
d7d28eaba0
Fix copy so that plugins can work on mac
2021-06-24 21:04:58 -06:00
kokokoshka
7e52ffe956
MinGW support
2021-06-18 15:45:26 -06:00
brainrom
3d1775e468
Lua links properly
...
mlib required to build Lua, dl lib used to load compiled plugins from shared libraries.
2021-06-10 10:37:30 -06:00
Nevyn Bengtsson
28abb7270d
Omit main() function if requested
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
4a3d979925
remove redundant link_directories
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
88de9a41af
LOVR_BUILD_WITH_EXPORTED_INTERNALS --> LOVR_SYMBOL_VISIBILITY
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
7b70fac0bb
mic permissions code for macos
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
9c37a6cdc8
don't include main/winmain in dll build
...
otherwise the parent app can't define a main of its own
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
9f697de402
allow plugins from parent project
...
So that projects that use lovr as a submodule can
inject their own plugins.
By picking them up from the _root_ project, whatever project that
is embedding lovr can decide for itself what plugins to use. This
is cleaner than using a separate glob and a variable in the case
where lovr will never come bundled with a standard set of plugins.
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
361c6a1356
Allow brave/foolish souls to use internal private C API
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
ac3d873311
use generator expression for --ks-pass
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
5ab7bebf45
Android: Allow having a key pass (not just a keystore pass)
2021-05-31 09:07:38 -06:00
Nevyn Bengtsson
1756983eb3
Embed submo's to VR SDKs
2021-05-31 09:07:38 -06:00
bjorn
87bf9c7b27
Merge branch 'master' into dev
2021-04-27 22:20:38 -06:00
mcc
0209e75137
Pass -DLOVR_SANITIZE to CMake config for AddressSanitizer+ubsan
2021-04-27 21:30:31 -06:00
mcc
2a30a7f38d
Get SteamAudio and OculusAudio working on mac. Also add the Phonon target as a dependency when LOVR_USE_STEAM_AUDIO (all platforms), which has no effect but could be useful later if SteamAudio acquires any build steps while still being a runtime-linked library.
2021-04-27 00:02:44 -06:00
mcc
fc87bffbe0
Fix Android CMake build.
2021-04-20 07:45:39 -06:00
Jakob Bornecrantz
b02c30a0e4
Make bin directory AppImage ready
2021-04-13 11:03:57 -06:00
bjorn
f565a7b69b
rm linking to OpenSLES;
2021-04-03 18:42:34 -06:00
bjorn
bbc868b2ea
CMake: Only strip android libraries in release mode;
2021-04-03 01:18:58 -06:00
bjorn
4b1cca50bc
CMake: msdfgen is always shared;
2021-04-03 01:18:40 -06:00
bjorn
618fb2ed2f
CMake: macOS builds into bin dir and moves libraries there;
...
A previous change modified the rpath to always be @executable_path.
This patch moves all libraries next to the executable, so that they can
load properly with the new rpath. For better organization, everything
is nested into a bin directory. This is congruent with how linux works.
Bundled builds remain the same -- they are using @executable_path like
before, and libraries get moved next to the executable inside the .app.
2021-04-02 22:17:58 -06:00
bjorn
245fed5e39
CMake: macOS always builds with @executable_path rpath;
2021-04-02 01:07:37 -06:00
bjorn
7e003032b5
Add favicon to wasm build;
...
Totally useless, but totally awesome.
2021-03-31 14:28:05 -06:00
mcc
896ebf0181
Phonon/SteamAudio support in CMake build
2021-03-30 18:38:14 -06:00
mcc
3619626710
CMake build fix for Oculus Audio on Quest
2021-03-23 14:37:30 -06:00
bjorn
121e0fde4c
Add vanilla Lua submodule;
...
This needs testing on other platforms.
2021-03-23 14:31:04 -06:00
bjorn
49f02c65d8
rm lua submodule;
2021-03-23 14:31:04 -06:00
mcc
e3c2b5b865
Fix Android build
...
- Fix typos after refactor
- Fix CMake when using ANDROID_PACKAGE
2021-03-22 14:09:16 -06:00
bjorn
f9f4907a50
phonon fixes;
2021-03-07 22:42:54 -07:00
bjorn
30a0556f1d
Fix oculus spatializer;
2021-03-07 21:19:24 -07:00
bjorn
f65f4c4075
Switch OpenVR back to non-imported library;
...
Building it from source results in a 7-8x smaller binary.
2021-03-04 18:40:58 -07:00
bjorn
746735259c
Windows: Always use WinMain for UTF8 command line arguments;
...
This fixes problems with paths containing special characters on windows.
2021-03-02 11:49:08 -07:00
bjorn
1c3a01de2a
Add windows icon;
2021-03-01 17:45:12 -07:00
bjorn
f3a12f2af9
Turn openvr into an imported library;
...
It uses a deprecated version of CMake, creates weird directories,
is slow to compile, and causes tup to rely on CMake more. Instead,
just use its binary artifacts directly.
2021-02-28 15:49:06 -07:00
bjorn
8a29c9c1f5
CMake: whitespace;
2021-02-25 16:31:14 -07:00
bjorn
4f5adbc64c
lovr.system;
2021-02-25 09:00:12 -07:00
bjorn
8bbb092497
Start phonon spatializer;
2021-02-24 17:43:42 -07:00
bjorn
bff86e6add
CMake: Add modelData_stl.c file;
2021-02-24 13:22:46 -07:00
bjorn
72284c2c5b
Merge branch 'master' into dev
2021-02-12 08:16:36 -07:00
bjorn
b21fd987ca
CMake: change msdfgen binary dir; tup: fix msdfgen path;
2021-02-11 16:19:35 -07:00
mcc
126ff0d8ba
Fix build when LOVR_ENABLE_AUDIO is off
...
(Build miniaudio if LOVR_ENABLE_DATA is on)
2021-02-11 15:58:37 -07:00
bjorn
28e88d7598
Reorganize spatializer files/CMake; Oculus Audio tup support;
2021-02-10 12:41:15 -07:00
bjorn
6eb6ab221f
CMake: Fix msdfgen target name;
2021-02-10 16:52:15 -07:00
bjorn
e630cabdac
CMake: Fix weird linux opengl warning;
2021-02-10 04:03:18 -07:00
bjorn
51485f613c
Add the ability to override Android package id;
2021-02-09 21:19:29 -07:00
bjorn
84f65c26e4
Move utf8 back into util;
2021-02-08 20:55:51 -07:00
bjorn
8164e0b6e8
TextureData is now named Image!;
...
The existing Image construct was renamed StorageImage.
2021-02-08 20:17:47 -07:00