-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
46 lines (39 loc) · 1.46 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -----------------------------------------------------------------------------
#
# This file is part of the µOS++ distribution.
# (https://github.com/micro-os-plus/)
# Copyright (c) 2022 Liviu Ionescu
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose is hereby granted, under the terms of the MIT license.
#
# If a copy of the license was not distributed with this file, it can
# be obtained from https://opensource.org/licenses/MIT/.
#
# -----------------------------------------------------------------------------
# This file is intended to be consumed by applications with:
#
# `subdir('xpacks/micro-os-plus-architecture-riscv')`
#
# The result is a dependency that can be referred as:
#
# `dependencies: [micro_os_plus_architecture_dependency],`
# Note: the meson configuration is provided only as a proof of concept,
# for production it might need some refinements.
# -----------------------------------------------------------------------------
message('Processing xPack @micro-os-plus/architecture-riscv...')
# https://mesonbuild.com/Reference-manual_functions.html#declare_dependency
micro_os_plus_architecture_dependency = declare_dependency(
include_directories: include_directories(
'include',
),
sources: files(
),
compile_args: [
],
dependencies: [
]
)
message('+ -I include')
message('> micro_os_plus_architecture_dependency')
# -----------------------------------------------------------------------------