[llvm] [ORC-RT] Initial check-in for a new, top-level ORC runtime project. (PR #113499)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 27 21:33:39 PDT 2024
================
@@ -0,0 +1,16 @@
+set(files
+ orc-rt-c/orc-rt.h
+)
+
+add_library(orc-rt-headers INTERFACE)
+target_include_directories(orc-rt-headers INTERFACE
+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+ $<INSTALL_INTERFACE:include>
+)
+target_sources(orc-rt-headers
+ INTERFACE FILE_SET HEADERS
+ BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}
+ FILES ${files}
+)
----------------
petrhosek wrote:
File Sets were introduced in CMake 3.23 but LLVM currently requires 3.20 as the minimum version.
https://github.com/llvm/llvm-project/pull/113499
More information about the llvm-commits
mailing list