comparison dowa/BUILD @ 92:655ea0b661fd

[Seobeo] Added few endpoints for handling files. [Dowa] Added few functions for random number and generating uuids
author June Park <parkjune1995@gmail.com>
date Fri, 02 Jan 2026 17:47:10 -0800
parents d39e8860a361
children f3084bca7317
comparison
equal deleted inserted replaced
91:19cccf6e866a 92:655ea0b661fd
6 name = "stb_ds", 6 name = "stb_ds",
7 hdrs = ["stb_ds.h"], 7 hdrs = ["stb_ds.h"],
8 visibility = ["//visibility:public"], 8 visibility = ["//visibility:public"],
9 ) 9 )
10 10
11 # TODO: Fix so that we can just define in the header instead of defining in the cc_library because this is ass.
12 cc_library( 11 cc_library(
13 name = "dowa_generic", 12 name = "dowa",
14 srcs = [ 13 srcs = [
15 "d_string.c", 14 "d_string.c",
16 "d_memory.c", 15 "d_memory.c",
16 "d_math.c",
17 ], 17 ],
18 hdrs = [ 18 hdrs = [
19 "dowa.h", 19 "dowa.h",
20 "dowa_internal.h", 20 "dowa_internal.h",
21 ], 21 ],
22 visibility = ["//visibility:public"],
23 )
24
25 cc_library(
26 name = "dowa",
27 srcs = [
28 "d_string.c",
29 "d_memory.c",
30 ],
31 hdrs = [
32 "dowa.h",
33 "dowa_internal.h",
34 ],
35 copts = ["-DDIRECTORY"],
36 visibility = ["//visibility:public"], 22 visibility = ["//visibility:public"],
37 ) 23 )
38 24
39 cc_test( 25 cc_test(
40 name = "dowa_test", 26 name = "dowa_test",
42 deps = [":dowa"], 28 deps = [":dowa"],
43 args = [], 29 args = [],
44 data = glob([ 30 data = glob([
45 "test_folder/**", 31 "test_folder/**",
46 ]), 32 ]),
47 # TODO: Fix this lmao?
48 copts = ["-fsanitize=address", "-g"], 33 copts = ["-fsanitize=address", "-g"],
49 linkopts = ["-fsanitize=address"], 34 linkopts = ["-fsanitize=address"],
50 ) 35 )