Home | History | Annotate | Download | only in llvm-c-test
      1 set(LLVM_LINK_COMPONENTS
      2   ${LLVM_TARGETS_TO_BUILD}
      3   BitReader
      4   Core
      5   MCDisassembler
      6   Object
      7   Target
      8   )
      9 
     10 if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
     11   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wstrict-prototypes")
     12 endif ()
     13 
     14 add_llvm_tool(llvm-c-test
     15   calc.c
     16   disassemble.c
     17   helpers.c
     18   include-all.c
     19   main.c
     20   module.c
     21   object.c
     22   targets.c
     23   )
     24