summaryrefslogtreecommitdiffhomepage
path: root/src/meson.build
blob: 12385fc944f5dc00527e8c9baa443fc3b2304c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
install_headers('raylib.h')

source_c = [
  'audio.c',
  'core.c',
  'models.c',
  'rlgl.c',
  'shapes.c',
  'text.c',
  'textures.c',
  'utils.c',
  'external/stb_vorbis.c',
]

# use 'meson --default-library=static builddir' to build as static, if no builddir yet exists
# use 'mesonconf -Ddefault_library=static builddir' to change the type
raylib = library('raylib',
                  source_c,
                  dependencies : [ glfw_dep, gl_dep, openal_dep, m_dep, x11_dep],
                  install : true,
                  version : '1.8.0')