5#if defined(spec_context)
6 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME spec_context
8#elif defined(SPEC_CONTEXT)
9 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME SPEC_CONTEXT
11#elif defined(spec_file)
12 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME spec_file
15 #include <global_macro_functions.h>
17_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_spec_file_
20#elif defined(SPEC_FILE)
21 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME SPEC_FILE
24 #include <global_macro_functions.h>
26_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_SPEC_FILE_
29#elif defined(spec_name)
30 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME spec_name
33 #include <global_macro_functions.h>
35_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_spec_name_){[]() {
37 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(spec_name)
41#elif defined(SPEC_NAME)
42 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME SPEC_NAME
45 #include <global_macro_functions.h>
47_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_SPEC_NAME_){[]() {
49 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(SPEC_NAME)
53#elif defined(spec_group)
54 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME spec_group
57 #include <global_macro_functions.h>
59_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_spec_group_){[]() {
61 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(spec_group)
65#elif defined(SPEC_GROUP)
66 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME SPEC_GROUP
69 #include <global_macro_functions.h>
71_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_SPEC_GROUP_){[]() {
73 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(SPEC_GROUP)
77#elif defined(spec_template)
78 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME spec_template
81 #include <global_macro_functions.h>
83_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_spec_template_){[]() {
85 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(spec_template),
true
89#elif defined(SPEC_TEMPLATE)
90 #define _GLOBAL_MACRO_FUNCTIONS_COMPILATION_UNIT_NAME SPEC_TEMPLATE
93 #include <global_macro_functions.h>
95_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_MacrosCore_SPEC_TEMPLATE_){[]() {
97 _GLOBAL_MACRO_FUNCTIONS_STRINGIZE(SPEC_TEMPLATE),
true
103#include <global_macro_functions.h>
static GlobalSpecGroup & instance()
void declare_file_group(std::string_view description, bool removeUnderscores=true)
void declare_top_level_template(std::string_view templateName, bool clearFileGroup=false, bool removeUnderscores=true)