summaryrefslogtreecommitdiff
path: root/deps/Unity/examples/example_4/src/meson.build
blob: 10c5735bef93cfa3c90a879114c83055249118a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# build script written by : Michael Brockus.
# github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams.
#
# license: MIT
#
inc_dir = include_directories('.')
lib_list = {'a': ['ProductionCode.c' ], 'b': ['ProductionCode2.c']}

foreach lib, src : lib_list
    set_variable(lib + '_lib', 
        static_library(lib + '_lib', sources: src, include_directories: inc_dir))
endforeach

a_dep = declare_dependency(link_with: a_lib, include_directories: inc_dir)
b_dep = declare_dependency(link_with: b_lib, include_directories: inc_dir)