| 1 |
# This file should be in the main folder of your project |
| 2 |
|
| 3 |
# Replace 'projectname' with the name of your project |
| 4 |
# Replace '1.0' with its version |
| 5 |
project('core_basic_window', 'c', version: '1.0', |
| 6 |
meson_version: '>= 0.39.1') |
| 7 |
|
| 8 |
# We want a C Compiler to be present |
| 9 |
cc = meson.get_compiler('c') |
| 10 |
|
| 11 |
# Find dependencies |
| 12 |
gl_dep = dependency('gl') |
| 13 |
m_dep = cc.find_library('m', required : false) |
| 14 |
raylib_dep = cc.find_library('raylib', required : false) |
| 15 |
|
| 16 |
# List your source files here |
| 17 |
source_c = [ |
| 18 |
'../../../examples/core/core_basic_window.c', |
| 19 |
] |
| 20 |
|
| 21 |
# Build executable |
| 22 |
core_basic_window = executable('core_basic_window', |
| 23 |
source_c, |
| 24 |
dependencies : [ raylib_dep, gl_dep, m_dep ], |
| 25 |
install : true) |