[PATCH] D114664: [objcopy][NFC] Add rules to cmake to put files under specific folders.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 29 13:46:46 PST 2021
avl updated this revision to Diff 390454.
avl added a comment.
addressed comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114664/new/
https://reviews.llvm.org/D114664
Files:
llvm/lib/Object/CMakeLists.txt
Index: llvm/lib/Object/CMakeLists.txt
===================================================================
--- llvm/lib/Object/CMakeLists.txt
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114664.390454.patch
Type: text/x-patch
Size: 1709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211129/a4db019c/attachment.bin>
More information about the llvm-commits
mailing list