[llvm] 673ce56 - [cmake] Copy llvm-driver-template.cpp.in into build dir as well
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 02:42:12 PST 2022
Author: Nikita Popov
Date: 2022-12-21T11:42:03+01:00
New Revision: 673ce562910a4a7c99ab2fa80ffb6966309a64c0
URL: https://github.com/llvm/llvm-project/commit/673ce562910a4a7c99ab2fa80ffb6966309a64c0
DIFF: https://github.com/llvm/llvm-project/commit/673ce562910a4a7c99ab2fa80ffb6966309a64c0.diff
LOG: [cmake] Copy llvm-driver-template.cpp.in into build dir as well
We were copying it into the installed version of the directory,
but not into the one in the build directory. Because of that it
was not directly usable as a cmake module by subprojects that
also use the driver functionality.
Added:
Modified:
llvm/cmake/modules/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
index e46b27a97ee64..d2997a4706e18 100644
--- a/llvm/cmake/modules/CMakeLists.txt
+++ b/llvm/cmake/modules/CMakeLists.txt
@@ -108,6 +108,7 @@ file(COPY .
NO_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN *.cmake
PATTERN CMakeFiles EXCLUDE
+ PATTERN llvm-driver-template.cpp.in
)
#
More information about the llvm-commits
mailing list