diff --git a/llvm/lib/Object/CMakeLists.txt b/llvm/lib/Object/CMakeLists.txt --- a/llvm/lib/Object/CMakeLists.txt +++ b/llvm/lib/Object/CMakeLists.txt @@ -1,3 +1,43 @@ +source_group("Header Files\\ObjCopy" REGULAR_EXPRESSION + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/.*.h +) + +source_group("Header Files\\ObjCopy\\COFF" REGULAR_EXPRESSION + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/COFF/.*.h +) + +source_group("Header Files\\ObjCopy\\ELF" REGULAR_EXPRESSION + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/ELF/.*.h +) + +source_group("Header Files\\ObjCopy\\MachO" REGULAR_EXPRESSION + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/MachO/.*.h +) + +source_group("Header Files\\ObjCopy\\wasm" REGULAR_EXPRESSION + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/wasm/.*.h +) + +source_group("Source Files\\ObjCopy" REGULAR_EXPRESSION + ObjCopy/.*.cpp +) + +source_group("Source Files\\ObjCopy\\COFF" REGULAR_EXPRESSION + ObjCopy/COFF/.*.cpp +) + +source_group("Source Files\\ObjCopy\\ELF" REGULAR_EXPRESSION + ObjCopy/ELF/.*.cpp +) + +source_group("Source Files\\ObjCopy\\MachO" REGULAR_EXPRESSION + ObjCopy/MachO/.*.cpp +) + +source_group("Source Files\\ObjCopy\\wasm" REGULAR_EXPRESSION + ObjCopy/wasm/.*.cpp +) + add_llvm_component_library(LLVMObject Archive.cpp ArchiveWriter.cpp @@ -49,6 +89,11 @@ ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/COFF + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/ELF + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/MachO + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object/ObjCopy/wasm DEPENDS intrinsics_gen