1set(LLVM_LINK_COMPONENTS all)
2
3if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
4  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wstrict-prototypes")
5endif ()
6
7add_llvm_tool(llvm-c-test
8  calc.c
9  disassemble.c
10  helpers.c
11  include-all.c
12  main.c
13  module.c
14  object.c
15  targets.c
16  )
17