aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-07-25 13:56:47 +0200
committerGitHub <noreply@github.com>2018-07-25 13:56:47 +0200
commit78c8774685d9f6989db9f6d6b7ffa6e98ca1fd88 (patch)
treec7a176245a48f2e3a426c03d66563acc4c6690a1 /projects
parent94b0c49f5de7811912068de2442d6b998b7fb11d (diff)
parent01197172ccb9976de43f99bb550ba523bb65f744 (diff)
downloadraylib-78c8774685d9f6989db9f6d6b7ffa6e98ca1fd88.tar.gz
raylib-78c8774685d9f6989db9f6d6b7ffa6e98ca1fd88.zip
Merge pull request #593 from jubalh/update_builder_example
Update Builder example
Diffstat (limited to 'projects')
-rw-r--r--projects/Builder/README.md3
-rw-r--r--projects/Builder/examples/meson.build4
-rw-r--r--projects/Builder/meson.build5
3 files changed, 2 insertions, 10 deletions
diff --git a/projects/Builder/README.md b/projects/Builder/README.md
index 556806ab..1696e0d2 100644
--- a/projects/Builder/README.md
+++ b/projects/Builder/README.md
@@ -21,6 +21,3 @@ In the provided file we assume that the build file is located at the root folder
Check out the `examples` directory for a simple example on how to use this template.
You can also look at [raymario](https://github.com/jubalh/raymario) for a slightly more complex example which also installs resource files.
-
-# Notice
-The files provided link against glfw3 and openAL because the latest stable version of raylib is version 1.8, which still needs this. For later versions these two dependencies are not necessary anymore.
diff --git a/projects/Builder/examples/meson.build b/projects/Builder/examples/meson.build
index ab81ca6c..f8b9bd4d 100644
--- a/projects/Builder/examples/meson.build
+++ b/projects/Builder/examples/meson.build
@@ -9,9 +9,7 @@ project('core_basic_window', 'c', version: '1.0',
cc = meson.get_compiler('c')
# Find dependencies
-glfw_dep = dependency('glfw3')
gl_dep = dependency('gl')
-openal_dep = dependency('openal')
m_dep = cc.find_library('m', required : false)
raylib_dep = cc.find_library('raylib', required : false)
@@ -23,5 +21,5 @@ source_c = [
# Build executable
core_basic_window = executable('core_basic_window',
source_c,
- dependencies : [ raylib_dep, glfw_dep, gl_dep, openal_dep, m_dep ],
+ dependencies : [ raylib_dep, gl_dep, m_dep ],
install : true)
diff --git a/projects/Builder/meson.build b/projects/Builder/meson.build
index 41b37fdc..779ce555 100644
--- a/projects/Builder/meson.build
+++ b/projects/Builder/meson.build
@@ -9,10 +9,7 @@ project('projectname', 'c', version: '1.0',
cc = meson.get_compiler('c')
# Find dependencies
-# glfw3 and openal are not needed for raylib > 1.8.0
-glfw_dep = dependency('glfw3')
gl_dep = dependency('gl')
-openal_dep = dependency('openal')
m_dep = cc.find_library('m', required : false)
raylib_dep = cc.find_library('raylib', required : false)
@@ -24,5 +21,5 @@ source_c = [
# Build executable
projectname = executable('projectname',
source_c,
- dependencies : [ raylib_dep, glfw_dep, gl_dep, openal_dep, m_dep ],
+ dependencies : [ raylib_dep, gl_dep, m_dep ],
install : true)