[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-lipo / CMakeLists.txt
blob2f582cbb74183d9c2e86d385339140979f570d21
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   Object
4   Option
5   Support
6   TextAPI
7   Core
8   BinaryFormat
11 set(LLVM_TARGET_DEFINITIONS LipoOpts.td)
12 tablegen(LLVM LipoOpts.inc -gen-opt-parser-defs)
13 add_public_tablegen_target(LipoOptsTableGen)
15 add_llvm_tool(llvm-lipo
16   llvm-lipo.cpp
17   DEPENDS
18   LipoOptsTableGen
21 if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
22   add_llvm_tool_symlink(lipo llvm-lipo)
23 endif()