llvm/llvm/lib/Remarks/CMakeLists.txt

add_llvm_component_library(LLVMRemarks
  BitstreamRemarkParser.cpp
  BitstreamRemarkSerializer.cpp
  Remark.cpp
  RemarkFormat.cpp
  RemarkLinker.cpp
  RemarkParser.cpp
  RemarkSerializer.cpp
  RemarkStreamer.cpp
  RemarkStringTable.cpp
  YAMLRemarkParser.cpp
  YAMLRemarkSerializer.cpp

  ADDITIONAL_HEADER_DIRS
  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Remarks

  LINK_COMPONENTS
  BitstreamReader
  Support

  DEPENDS
  intrinsics_gen
)