Skip to content
Snippets Groups Projects
Commit 69cd8523 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Move array bits to lib/

parent 67a7a687
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
File moved
File moved
utils_lib = library('utils', 'utils.c')
utils_dep = declare_dependency(link_with: utils_lib, include_directories: '.')
utils_dep = declare_dependency(link_with: utils_lib,
include_directories: '.')
array_lib = library('array',
['array.c', 'mem.c'],
dependencies: libm)
array_dep = declare_dependency(link_with: array_lib,
include_directories: '.')
......@@ -16,3 +16,7 @@ endif
subdir('lib')
subdir('src')
if glib_dep.found()
subdir('test')
endif
......@@ -18,7 +18,6 @@ executable('strtol', 'strtol.c')
executable('taylor', 'taylor.c')
executable('world', 'world.c')
subdir('array')
subdir('hashtable')
subdir('list')
subdir('sockets')
......
File moved
File moved
File moved
avg = executable('average',
'average.c',
link_with: lib,
include_directories: lib_inc,
dependencies: [glib_dep])
dependencies: [array_dep, glib_dep])
basic = executable('basic',
'basic.c',
link_with: lib,
include_directories: lib_inc,
dependencies: [glib_dep])
dependencies: [array_dep, glib_dep])
empty = executable('empty',
'empty.c',
link_with: lib,
include_directories: lib_inc,
dependencies: [glib_dep])
dependencies: [array_dep, glib_dep])
test('average', avg)
test('basic', basic)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment