[llvm] 586cfd3 - [CMake] Add missing tablegen deps
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 08:57:23 PST 2022
Author: Alex Brachet
Date: 2022-12-13T16:56:58Z
New Revision: 586cfd37954c79bdffa1274635e9c6467d2f6319
URL: https://github.com/llvm/llvm-project/commit/586cfd37954c79bdffa1274635e9c6467d2f6319
DIFF: https://github.com/llvm/llvm-project/commit/586cfd37954c79bdffa1274635e9c6467d2f6319.diff
LOG: [CMake] Add missing tablegen deps
Added:
Modified:
llvm/tools/llvm-mt/CMakeLists.txt
llvm/tools/llvm-rc/CMakeLists.txt
llvm/tools/llvm-readobj/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/llvm-mt/CMakeLists.txt b/llvm/tools/llvm-mt/CMakeLists.txt
index 2355e966bd7fa..dd427a2640cd6 100644
--- a/llvm/tools/llvm-mt/CMakeLists.txt
+++ b/llvm/tools/llvm-mt/CMakeLists.txt
@@ -11,5 +11,7 @@ add_public_tablegen_target(MtTableGen)
add_llvm_tool(llvm-mt
llvm-mt.cpp
+ DEPENDS
+ MtTableGen
GENERATE_DRIVER
)
diff --git a/llvm/tools/llvm-rc/CMakeLists.txt b/llvm/tools/llvm-rc/CMakeLists.txt
index 817cee3dafc35..e39377ddd3a23 100644
--- a/llvm/tools/llvm-rc/CMakeLists.txt
+++ b/llvm/tools/llvm-rc/CMakeLists.txt
@@ -19,6 +19,8 @@ add_llvm_tool(llvm-rc
ResourceScriptParser.cpp
ResourceScriptStmt.cpp
ResourceScriptToken.cpp
+ DEPENDS
+ WindresOptsTableGen
GENERATE_DRIVER
)
diff --git a/llvm/tools/llvm-readobj/CMakeLists.txt b/llvm/tools/llvm-readobj/CMakeLists.txt
index 13243b853481d..03884e0f2ff44 100644
--- a/llvm/tools/llvm-readobj/CMakeLists.txt
+++ b/llvm/tools/llvm-readobj/CMakeLists.txt
@@ -27,6 +27,8 @@ add_llvm_tool(llvm-readobj
Win64EHDumper.cpp
WindowsResourceDumper.cpp
XCOFFDumper.cpp
+ DEPENDS
+ ReadobjOptsTableGen
GENERATE_DRIVER
)
More information about the llvm-commits
mailing list