This commit is contained in:
chatlanin 2022-06-04 13:03:08 +03:00
parent e44599f3dd
commit 7775320668

View File

@ -3,6 +3,9 @@ project('glad', 'c', version: '4.6')
headers = [ 'glad.h', 'khrplatform.h' ]
sources = [ 'glad.c' ]
inc = []
inc += include_directories('.')
lib = library(
'glad',
sources: [headers, sources],
@ -10,5 +13,6 @@ lib = library(
)
glad_dep = declare_dependency(
include_directories: inc,
link_with: lib
)