33 lines
600 B
Plaintext
33 lines
600 B
Plaintext
executable("llvm-c-test") {
|
|
deps = [
|
|
"//llvm/lib/Bitcode/Reader",
|
|
"//llvm/lib/IR",
|
|
"//llvm/lib/MC/MCDisassembler",
|
|
"//llvm/lib/Object",
|
|
"//llvm/lib/Support",
|
|
"//llvm/lib/Target",
|
|
"//llvm/lib/Target:TargetsToBuild",
|
|
]
|
|
if (host_os != "win") {
|
|
cflags_c = [
|
|
"-std=gnu99",
|
|
"-Wstrict-prototypes",
|
|
]
|
|
}
|
|
sources = [
|
|
"attributes.c",
|
|
"calc.c",
|
|
"debuginfo.c",
|
|
"diagnostic.c",
|
|
"disassemble.c",
|
|
"echo.cpp",
|
|
"helpers.c",
|
|
"include-all.c",
|
|
"main.c",
|
|
"metadata.c",
|
|
"module.c",
|
|
"object.c",
|
|
"targets.c",
|
|
]
|
|
}
|