mirror of
https://github.com/google/pebble.git
synced 2025-03-16 01:01:20 +00:00
28 lines
880 B
Python
28 lines
880 B
Python
from waftools.pebble_test import clar
|
|
|
|
def build(ctx):
|
|
clar(ctx,
|
|
sources_ant_glob = "src/libc/math/floor.c",
|
|
test_sources_ant_glob = "test_floor.c",
|
|
add_includes = ["src/libc"],
|
|
test_libs=['m'])
|
|
|
|
clar(ctx,
|
|
sources_ant_glob = "src/libc/math/log.c",
|
|
test_sources_ant_glob = "test_log.c",
|
|
add_includes = ["src/libc"],
|
|
test_libs=['m'])
|
|
|
|
clar(ctx,
|
|
sources_ant_glob = "src/libc/math/pow.c" \
|
|
" src/libc/math/scalbn.c" \
|
|
" src/libc/math/sqrt.c",
|
|
test_sources_ant_glob = "test_pow.c",
|
|
add_includes = ["src/libc"],
|
|
test_libs=['m'])
|
|
|
|
clar(ctx,
|
|
sources_ant_glob = "src/libc/math/round.c",
|
|
test_sources_ant_glob = "test_round.c",
|
|
add_includes = ["src/libc"],
|
|
test_libs=['m'])
|