2024-03-18 11:25:15 +01:00
|
|
|
#pragma once
|
|
|
|
|
2024-04-25 11:49:09 +02:00
|
|
|
#ifndef PP_DEBUG
|
2024-03-18 11:25:15 +01:00
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
#include <config.hpp>
|
2024-04-25 12:14:41 +02:00
|
|
|
#endif
|
2024-03-18 11:25:15 +01:00
|
|
|
|
2024-04-24 23:36:25 +02:00
|
|
|
namespace fs = std::filesystem;
|
|
|
|
|
2024-04-19 09:39:57 +02:00
|
|
|
#define CONFIG(name, ...) name parse##name(fs::path configPath);
|
|
|
|
|
|
|
|
#define ENUM(name, ...)
|
|
|
|
|
2024-04-20 13:37:06 +02:00
|
|
|
#define STRUCT_INPUT_STREAM_OP(name, ...)
|
|
|
|
#define STRUCT_OUTPUT_STREAM_OP(name, ...)
|
2024-04-19 09:39:57 +02:00
|
|
|
#define STRUCT_STREAM_OPS(name, ...)
|
|
|
|
|
|
|
|
#define STRUCT(name, ...)
|
|
|
|
|
|
|
|
#include <config_def.hpp>
|
|
|
|
|
|
|
|
#undef CONFIG
|
|
|
|
|
|
|
|
#undef ENUM
|
|
|
|
|
2024-04-20 13:37:06 +02:00
|
|
|
#undef STRUCT_INPUT_STREAM_OP
|
|
|
|
#undef STRUCT_OUTPUT_STREAM_OP
|
2024-04-19 09:39:57 +02:00
|
|
|
#undef STRUCT_STREAM_OPS
|
|
|
|
|
|
|
|
#undef STRUCT
|