mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
b32f723844
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.
11 lines
265 B
C++
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
|