brintos

brintos / llvm-project-archived public Read only

0
0
Text · 481 B · 66d0dd3 Raw
18 lines · plain
1source_set("UnitTestMain") {2  deps = [ "//llvm/lib/Support" ]3 4  # Make targets depending on this also depend on gtest, to get the gtest5  # include_dir.6  public_deps = [ "..:gtest" ]7  sources = [ "TestMain.cpp" ]8  testonly = true9}10 11# Nothing depends on this target, but llvm-config expects it to exist when12# it runs with `--link-static --system-libs`, so humor it.13static_library("gtest_main") {14  deps = [ ":UnitTestMain" ]15  complete_static_lib = true16  testonly = true17}18