Selaa lähdekoodia

Remove Meson build system

Less maintenance overhead that way,
given that make/CMake now also do library versioning.
Ahmad Fatoum 7 vuotta sitten
vanhempi
commit
4a7840b752
3 muutettua tiedostoa jossa 0 lisäystä ja 40 poistoa
  1. 0 3
      .gitignore
  2. 0 15
      meson.build
  3. 0 22
      src/meson.build

+ 0 - 3
.gitignore

@@ -110,9 +110,6 @@ docs/examples/web/*/*.html
 !docs/examples/web/shaders/loader.html
 !docs/examples/web/models/loader.html
 
-# Meson build system
-builddir/
-
 # CMake stuff
 CMakeCache.txt
 CMakeFiles

+ 0 - 15
meson.build

@@ -1,15 +0,0 @@
-project('raylib', 'c', version:	'1.8.0',
-		license: 'zlib',
-		meson_version: '>= 0.39.1',
-		default_options : 'c_std=gnu99')
-
-cc = meson.get_compiler('c')
-
-glfw_dep = dependency('glfw3', version : '>=3.2')
-gl_dep = dependency('gl')
-openal_dep = dependency('openal')
-x11_dep = dependency('x11')
-m_dep = cc.find_library('m', required : false)
-
-subdir('src')
-

+ 0 - 22
src/meson.build

@@ -1,22 +0,0 @@
-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')
-