47 lines · plain
1set(ORC_RT_HEADERS2 orc-rt-c/CoreTyspe.h3 orc-rt-c/ExternC.h4 orc-rt-c/WrapperFunction.h5 orc-rt-c/orc-rt.h6 orc-rt/AllocAction.h7 orc-rt/BitmaskEnum.h8 orc-rt/Compiler.h9 orc-rt/Error.h10 orc-rt/ExecutorAddress.h11 orc-rt/IntervalMap.h12 orc-rt/IntervalSet.h13 orc-rt/Math.h14 orc-rt/MemoryFlags.h15 orc-rt/ResourceManager.h16 orc-rt/RTTI.h17 orc-rt/ScopeExit.h18 orc-rt/Session.h19 orc-rt/SimpleNativeMemoryMap.h20 orc-rt/SimplePackedSerialization.h21 orc-rt/SPSAllocAction.h22 orc-rt/SPSMemoryFlags.h23 orc-rt/SPSWrapperFunction.h24 orc-rt/SPSWrapperFunctionBuffer.h25 orc-rt/TaskDispatcher.h26 orc-rt/ThreadPoolTaskDispatcher.h27 orc-rt/WrapperFunction.h28 orc-rt/bind.h29 orc-rt/bit.h30 orc-rt/move_only_function.h31 orc-rt/span.h32)33 34# TODO: Switch to filesets when we move to cmake-3.23.35add_library(orc-rt-headers INTERFACE)36target_include_directories(orc-rt-headers INTERFACE37 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>38 $<INSTALL_INTERFACE:include>39)40set_property(TARGET orc-rt-headers41 PROPERTY PUBLIC_HEADER ${ORC_RT_HEADERS}42)43install(TARGETS orc-rt-headers44 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/45 COMPONENT OrcRT_Development46)47