A collection of basic/generally desirable code I use across multiple C++ projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
1.0 KiB

// define this macro to include the serialization code `serialize.h/.cpp`, as well as serialization
// for the hashtable(s) and array implementations.
#define ULE_CONFIG_OPTION_SERIALIZATION
// all functions in the library will invoke a semicolon-terminated macro as their first line of execution.
// this is for use by an instrusive profiler, though could be used for whatever purpose.
#include <Tracy.hpp>
#define ULE_CONFIG_OPTION_FTAG ZoneScoped
// use glm for vector and matrix types and operations.
// if this is defined, you will also need to include 'glm'. make sure the following headers can be found on your system.
// the way this is done currently hurts compile times. Eventually we will have a glm replacement and this problem goes away.
// You can also compile ULE into a static lib to avoid this issue.
#include <glm/glm.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#define ULE_CONFIG_OPTION_USE_GLM
#define ULE_CONFIG_OPTION_PRINT_OUTPUT_USE_ANSI_COLOR_CODES