[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
Fri Feb 18 02:19:40 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0c0db4627dc: [objcopy][NFC] Add rules to cmake to put files under specific folders. (authored by avl).
Changed prior to commit:
https://reviews.llvm.org/D114664?vs=409799&id=409882#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114664/new/
https://reviews.llvm.org/D114664
Files:
llvm/lib/ObjCopy/CMakeLists.txt
Index: llvm/lib/ObjCopy/CMakeLists.txt
===================================================================
--- llvm/lib/ObjCopy/CMakeLists.txt
+++ llvm/lib/ObjCopy/CMakeLists.txt
@@ -1,3 +1,34 @@
+source_group("Header Files" REGULAR_EXPRESSION
+ .*[.]h
+)
+source_group("Header Files\\COFF" REGULAR_EXPRESSION
+ COFF/.*[.]h
+)
+source_group("Header Files\\ELF" REGULAR_EXPRESSION
+ ELF/.*[.]h
+)
+source_group("Header Files\\MachO" REGULAR_EXPRESSION
+ MachO/.*[.]h
+)
+source_group("Header Files\\wasm" REGULAR_EXPRESSION
+ wasm/.*[.]h
+)
+source_group("Source Files" REGULAR_EXPRESSION
+ .*[.]cpp
+)
+source_group("Source Files\\COFF" REGULAR_EXPRESSION
+ COFF/.*[.]cpp
+)
+source_group("Source Files\\ELF" REGULAR_EXPRESSION
+ ELF/.*[.]cpp
+)
+source_group("Source Files\\MachO" REGULAR_EXPRESSION
+ MachO/.*[.]cpp
+)
+source_group("Source Files\\wasm" REGULAR_EXPRESSION
+ wasm/.*[.]cpp
+)
+
add_llvm_component_library(LLVMObjCopy
Archive.cpp
ObjCopy.cpp
@@ -19,8 +50,16 @@
wasm/WasmObjcopy.cpp
ADDITIONAL_HEADER_DIRS
- ${LLVM_MAIN_INCLUDE_DIR}/llvm/Object
-
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjCopy
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjCopy/COFF
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjCopy/ELF
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjCopy/MachO
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjCopy/wasm
+ COFF
+ ELF
+ MachO
+ wasm
+
DEPENDS
intrinsics_gen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114664.409882.patch
Type: text/x-patch
Size: 1382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/fca6ea5d/attachment.bin>
More information about the llvm-commits
mailing list