mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -08:00
Ed_
c97762ac16
Also now doing comment serialization on def_comment directly as parse_comment doesn't need it. Essentially comment ast types serialize the same way s untyped and execution ASTs
36 lines
528 B
C++
36 lines
528 B
C++
#if GEN_TIME
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
|
#define GEN_EXPOSE_BACKEND
|
|
#define GEN_BENCHMARK
|
|
#include "gen.cpp"
|
|
#include "gen.builder.cpp"
|
|
#include "sanity.cpp"
|
|
#include "SOA.cpp"
|
|
#include "validate.singleheader.cpp"
|
|
|
|
int gen_main()
|
|
{
|
|
using namespace gen;
|
|
log_fmt("\ngen_time:");
|
|
|
|
// check_sanity();
|
|
|
|
// check_SOA();
|
|
|
|
check_singleheader_ast();
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
|
|
// This only has to be done if symbol conflicts occur.
|
|
#ifndef GEN_TIME
|
|
int main()
|
|
{
|
|
|
|
|
|
return 0;
|
|
}
|
|
#endif
|