NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 1 | set(LLVM_LINK_COMPONENTS |
| 2 | ${LLVM_TARGETS_TO_BUILD} |
| 3 | BitReader |
| 4 | Core |
| 5 | MCDisassembler |
| 6 | Object |
| 7 | Target |
| 8 | ) |
Anders Waldenborg | b932c66 | 2013-10-23 08:10:20 +0000 | [diff] [blame] | 9 | |
| 10 | if (LLVM_COMPILER_IS_GCC_COMPATIBLE) |
Rafael Espindola | 4daaa8e | 2014-01-08 11:48:19 +0000 | [diff] [blame] | 11 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wstrict-prototypes") |
Anders Waldenborg | b932c66 | 2013-10-23 08:10:20 +0000 | [diff] [blame] | 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 | ) |