[NFC] Add libcxx python reformat SHA to .git-blame-ignore-revs
[llvm-project.git] / bolt / tools / merge-fdata / CMakeLists.txt
blob9405acb6ab68d9079e46a5bc9fa8088b6ceb4740
1 set(LLVM_LINK_COMPONENTS Support)
3 add_bolt_tool(merge-fdata
4   merge-fdata.cpp
6   DISABLE_LLVM_LINK_LLVM_DYLIB
8   DEPENDS
9   intrinsics_gen
11 set_target_properties(merge-fdata PROPERTIES FOLDER "BOLT")
13 add_dependencies(bolt merge-fdata)
14 install(PROGRAMS
15   ${CMAKE_BINARY_DIR}/bin/merge-fdata
16   DESTINATION ${CMAKE_INSTALL_BINDIR}
17   COMPONENT bolt
18   )
20 # Emit relocations for BOLT meta test (bolt/test/runtime/meta-merge-fdata.test)
21 if (BOLT_INCLUDE_TESTS AND UNIX AND NOT APPLE)
22   target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)
23 endif()