forked from ChristophHaag/SteamVR-OpenHMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
42 lines (36 loc) · 874 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
project(
'steamvr-openhmd', 'cpp',
default_options : 'cpp_std=c++11',
version : '0.0.1',
meson_version: '>=0.54'
)
sources = [
'driverlog.cpp',
'driverlog.h',
'driver_openhmd.cpp'
]
includes = include_directories(['./subprojects/openhmd/include', './subprojects/openvr'])
openhmd_subproject = subproject('openhmd', default_options: ['default_library=static'])
openhmd_lib = openhmd_subproject.get_variable('openhmd_lib')
deps = [
dependency('threads')
]
steamvr_openhmd_lib = library(
'driver_openhmd', sources,
include_directories : includes,
dependencies : deps,
link_with: openhmd_lib,
install : true,
version : meson.project_version(),
name_prefix : ''
)
#copyfiles = [
# 'driver.vrdrivermanifest',
#]
#foreach copyfile: copyfiles
# configure_file(
# input : copyfile,
# output : copyfile,
# configuration : configuration_data()
# )
#endforeach