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