Some checks failed
Conan Packaging / Package Bin2CPP/1.0.0 (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Clang Format Checks (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Sonarqube (push) Has been cancelled
Reviewed-on: #2 Co-authored-by: Romain BOULLARD <romain.boullard@protonmail.com> Co-committed-by: Romain BOULLARD <romain.boullard@protonmail.com>
37 lines
826 B
C++
37 lines
826 B
C++
/*********************************************************************
|
|
* \file GeneratedTemplate.hpp
|
|
*
|
|
* \author Romain BOULLARD
|
|
* \date March 2026
|
|
*********************************************************************/
|
|
#ifndef BIN2CPP_GENERATED_TEMPLATE_HPP
|
|
#define BIN2CPP_GENERATED_TEMPLATE_HPP
|
|
#include <string_view>
|
|
|
|
namespace Bin2CPP
|
|
{
|
|
constexpr std::string_view g_generatedTemplate = R"(/**
|
|
* Auto-generated header from: {{FILENAME}}
|
|
* Generated by Bin2CPP
|
|
*
|
|
* DO NOT TOUCH
|
|
*/
|
|
#ifndef {{GUARD_NAME}}
|
|
#define {{GUARD_NAME}}
|
|
#include {{ARRAY_TYPE_INCLUDE}}
|
|
#include <cstddef>
|
|
|
|
namespace {{NAMESPACE}}
|
|
{
|
|
inline constexpr {{ARRAY_TYPE}}<std::byte, {{ARRAY_SIZE}}> {{ARRAY_NAME}} = {
|
|
{{DATA}}
|
|
};
|
|
|
|
} // namespace {{NAMESPACE}}
|
|
|
|
#endif // {{GUARD_NAME}}
|
|
)";
|
|
} // namespace Bin2CPP
|
|
|
|
#endif
|