Ravago Jones | 281800e | 2023-02-13 02:24:07 -0800 | [diff] [blame] | 1 | cc_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", | ||||
24 | ], | ||||
25 | includes = [ | ||||
26 | ".", | ||||
27 | "gen", | ||||
28 | ], | ||||
29 | target_compatible_with = ["@platforms//cpu:x86_64"], | ||||
30 | visibility = ["//visibility:public"], | ||||
31 | ) |