[llvm] [ORC-RT] Initial check-in for a new, top-level ORC runtime project. (PR #113499)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 13:53:53 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}
+)
----------------
lhames wrote:

Thanks for spotting that! I've switched to `install (DIRECTORY ...` in the latest commits -- Is that a reasonable solution for CMake 3.20?

https://github.com/llvm/llvm-project/pull/113499


More information about the llvm-commits mailing list