-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
28 lines (22 loc) · 944 Bytes
/
meson.build
File metadata and controls
28 lines (22 loc) · 944 Bytes
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
project('plugin', ['cpp', 'c'], version : '0.1', default_options : ['buildtype=debug'])
compiler = meson.get_compiler('cpp')
libdir = meson.source_root() / '3p/sdk/lib/public'
tier0 = compiler.find_library('tier0', dirs : libdir)
tier1 = compiler.find_library('tier1', dirs : libdir)
tier2 = compiler.find_library('tier2', dirs : libdir)
tier3 = compiler.find_library('tier3', dirs : libdir)
mathlib = compiler.find_library('mathlib', dirs : libdir)
vstdlib = compiler.find_library('vstdlib', dirs : libdir)
legacy_stdio_definitions = compiler.find_library('legacy_stdio_definitions')
incdirs = include_directories(
'3p/sdk/public',
'3p/sdk/public/tier0',
'3p/sdk/public/tier1',
)
subdir('src')
plugin = shared_library('plugin', plugin_sources,
install : true,
include_directories: incdirs,
link_args : ['/NODEFAULTLIB:LIBCMT'],
dependencies : [tier0, tier1, tier2, tier3, mathlib, vstdlib, legacy_stdio_definitions],
)