object-introspection/oi/Headers.h
Jake Hillion b32f723844 resources: manage headers properly
Previously we had an `R"(` string in `OITraceCode.cpp` which allowed us
to include the file as a string. Instead, keep `OITraceCode.cpp` a fully
formed C++ file and utilise the build system to turn it into a string.
This will be used for more header files that are needed both as valid
headers and as strings for JIT compilation in the Typed TreeBuilder
work.
2023-05-18 16:04:13 +02:00

11 lines
265 B
C++

#include <string_view>
namespace ObjectIntrospection {
namespace headers {
// These externs are provided by our build system. See resources/CMakeLists.txt
extern const std::string_view OITraceCode_cpp;
} // namespace headers
} // namespace ObjectIntrospection