BUILD.gn
418 Bytes
executable("c-arcmt-test") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [ "//clang/tools/libclang" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"c-arcmt-test.c",
]
# See comment at top of clang/tools/libclang/BUILD.gn for why this isn't
# needed on Linux.
if (host_os == "mac") {
ldflags = [ "-Wl,-rpath,@loader_path/../lib" ]
}
}