mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-30 19:01:02 -07:00
Library can now construct into AST and serialization itself (singleheader).
Still need to validate if they match.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
// Testing to make sure backend of library is operating properly.
|
||||
|
||||
#ifdef GEN_TIME
|
||||
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
||||
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
||||
#define GEN_EXPOSE_BACKEND
|
||||
#define GEN_BENCHMARK
|
||||
#include "gen.hpp"
|
||||
#include "gen/gen.hpp"
|
||||
#include "gen/gen.builder.hpp"
|
||||
|
||||
void check_sanity()
|
||||
{
|
||||
@ -89,4 +89,3 @@ void check_sanity()
|
||||
gen::deinit();
|
||||
log_fmt("\nSanity passed!\n");
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user