blob: 1a276c30e93d5ed9d3413d0217dcc74728b8404e [file] [log] [blame]
Ravago Jones281800e2023-02-13 02:24:07 -08001cc_binary(
2 name = "pioasm",
3 srcs = [
4 "ada_output.cpp",
5 "c_sdk_output.cpp",
6 "gen/lexer.cpp",
7 "gen/location.h",
8 "gen/parser.cpp",
9 "gen/parser.hpp",
10 "hex_output.cpp",
11 "main.cpp",
12 "output_format.h",
13 "pio_assembler.cpp",
14 "pio_assembler.h",
15 "pio_disassembler.cpp",
16 "pio_disassembler.h",
17 "pio_types.h",
18 "python_output.cpp",
19 ],
20 copts = [
21 "-Wno-unused-parameter",
22 "-Wno-sign-compare",
23 "-fexceptions",
Austin Schuh50e3dca2023-07-23 14:34:27 -070024 "-Wno-unused-but-set-variable",
Ravago Jones281800e2023-02-13 02:24:07 -080025 ],
26 includes = [
27 ".",
28 "gen",
29 ],
30 target_compatible_with = ["@platforms//cpu:x86_64"],
31 visibility = ["//visibility:public"],
32)