2023-07-17 20:40:28 -07:00
|
|
|
#define GEN_FEATURE_PARSING
|
|
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
|
|
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
|
|
|
#define GEN_EXPOSE_BACKEND
|
|
|
|
#define GEN_BENCHMARK
|
2023-07-08 11:11:41 -07:00
|
|
|
#include "gen.cpp"
|
2023-07-16 15:00:07 -07:00
|
|
|
#include "sanity.cpp"
|
2023-07-17 20:40:28 -07:00
|
|
|
#include "SOA.cpp"
|
2023-07-08 11:11:41 -07:00
|
|
|
|
2023-07-16 15:00:07 -07:00
|
|
|
#if gen_time
|
2023-07-08 11:11:41 -07:00
|
|
|
int gen_main()
|
|
|
|
{
|
2023-07-16 15:00:07 -07:00
|
|
|
using namespace gen;
|
|
|
|
log_fmt("\ngen_time:");
|
2023-07-08 11:11:41 -07:00
|
|
|
|
2023-07-16 15:00:07 -07:00
|
|
|
check_sanity();
|
2023-07-11 15:29:45 -07:00
|
|
|
|
2023-07-17 20:40:28 -07:00
|
|
|
check_SOA();
|
|
|
|
|
2023-07-08 11:11:41 -07:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2023-07-16 15:00:07 -07:00
|
|
|
// This only has to be done if symbol conflicts occur.
|
|
|
|
#ifndef gen_time
|
2023-07-08 11:11:41 -07:00
|
|
|
int main()
|
|
|
|
{
|
2023-07-16 15:00:07 -07:00
|
|
|
|
|
|
|
|
2023-07-08 11:11:41 -07:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
#endif
|