add_configs("cross_platform_deterministic",{description="Turns on behavior to attempt cross platform determinism",default=false,type="boolean"})
add_configs("debug_renderer",{description="Adds support to draw lines and triangles, used to be able to debug draw the state of the world",default=true,type="boolean"})
add_configs("double_precision",{description="Compiles the library so that all positions are stored in doubles instead of floats. This makes larger worlds possible",default=false,type="boolean"})
add_configs("exceptions",{description="Compile the library with C++ exceptions enabled. This adds some overhead and Jolt doesn't use exceptions so by default it is off.",default=false,type="boolean"})
add_configs("object_layer_bits",{description="Number of bits to use in ObjectLayer. Can be 16 or 32.",default="16",type="string",values={"16","32"}})
add_configs("object_stream",{description="Compile the ObjectStream class and RTTI attribute information",default=true,type="boolean"})
add_configs("rtti",{description="Compile the library with C++ RTTI enabled. This adds some overhead and Jolt doesn't use RTTI so by default it is off.",default=false,type="boolean"})
add_configs("symbols",{description="When turning this option on, the library will be compiled with debug symbols",default=false,type="boolean"})
add_configs("symbol_format",{description="Which type of debug symbols to generate",default="",type="string"})
ifis_arch("i386","x86","x64","x86_64")then
add_configs("inst_avx",{description="Enable AVX CPU instructions (x86/x64 only)",default=false,type="boolean"})