[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
Tue Aug 19 02:58:56 PDT 2025


================
@@ -0,0 +1,17 @@
+set(ORC_RT_HEADERS
+    orc-rt-c/orc-rt.h
+)
+
+# TODO: Switch to filesets when we move to cmake-3.23.
+add_library(orc-rt-headers INTERFACE)
+target_include_directories(orc-rt-headers INTERFACE
+    $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+    $<INSTALL_INTERFACE:include>
+)
+set_property(TARGET orc-rt-headers
+    PROPERTY PUBLIC_HEADER ${ORC_RT_HEADERS}
+)
+install(TARGETS orc-rt-headers
+    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/
+    COMPONENT OrcRT_Development
+)
----------------
lhames wrote:

Good question. I was focused on getting the tests working and haven't tried the `install` command recently. I'll look into this.

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


More information about the llvm-commits mailing list