All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 53s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 39s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 41s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 49s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 49s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m11s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m15s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 58s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 59s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 53s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m5s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m7s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 52s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 48s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m3s
Bin2CPP / Sonarqube (push) Successful in 1m41s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Clang Format Checks (push) Successful in 9s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m7s
Conan Packaging / Package Bin2CPP/1.0.0 (push) Successful in 1m3s
Reviewed-on: #3
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
|