meson.build 559 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
includes = include_directories(
  './',
  './Fonts/',
  './GUI_DEV/',
  './LCD/',
)

sources = files(
  './GUI_DEV/DEV_Config.c',
  './LCD/LCD_Driver.c',
meh's avatar
meh committed
11
	'./Fonts/gohufont.c',
12
13
14
15
16
  './Fonts/font8.c',
  './Fonts/font12.c',
  './Fonts/font16.c',
  './Fonts/font20.c',
  './Fonts/font24.c',
17
18
19
  'framebuffer.c',
  'gfx.c',
  'textbuffer.c'
20
21
22
23
24
25
26
27
28
29
30
31
32
33
)

lib = static_library(
  'gfx',
  sources,
  include_directories: includes,
  dependencies: periphdriver,
  c_args: '-Wno-missing-braces',
)

libgfx = declare_dependency(
  include_directories: includes,
  link_with: lib,
)