Compare commits

..

67 Commits

Author SHA1 Message Date
b05c6aa5c9 Remove full deploy
All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 53s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 53s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 41s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 42s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 51s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 55s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 56s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m3s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m9s
Conan Packaging / Package Bin2CPP/1.0.0 (push) Successful in 58s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m8s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m8s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m18s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m20s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m7s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m5s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 47s
2026-03-29 11:19:44 +02:00
9583dbb6e8 Merge branch 'V1' of https://git.romainboullard.com/rboullard/Bin2CPP into V1 2026-03-29 11:17:48 +02:00
f322ce3655 Fix no error message on fail
Some checks failed
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m12s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (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/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: 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) Successful in 1m12s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 44s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 44s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 48s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (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/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Has started running
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Has started running
Conan Packaging / Package Bin2CPP/1.0.0 (push) Has been cancelled
2026-03-29 09:16:57 +00:00
b769357bd0 logging disable by default 2026-03-29 09:16:57 +00:00
ea53392645 fix packaging 2026-03-29 09:16:57 +00:00
0977669bd5 Packaging 2026-03-29 09:16:57 +00:00
1328b17b47 Bin2Cpp 2026-03-29 09:16:57 +00:00
29491b8c3e fix asan 2026-03-29 09:16:57 +00:00
589bc61c6e Fix asan 2026-03-29 09:16:57 +00:00
a0d43a31e9 Fix name 2026-03-29 09:16:57 +00:00
122d4652a6 more profiles 2026-03-29 09:16:57 +00:00
09c27d5242 Cleaner CMake 2026-03-29 09:16:57 +00:00
c00fee259f less sanitizers 2026-03-29 09:16:57 +00:00
6b8e73edc4 remove asan from memsanitizer build 2026-03-29 09:16:57 +00:00
8b3d9818c8 memory sanitizer 2026-03-29 09:16:57 +00:00
30b3665721 less sanitizers 2026-03-29 09:16:57 +00:00
a682d8ade2 more sanitizers 2026-03-29 09:16:57 +00:00
56418bb401 more sanitizers 2026-03-29 09:16:57 +00:00
d67c041df1 Multiple typos 2026-03-29 09:16:57 +00:00
d04876b18b options now from profiles 2026-03-29 09:16:57 +00:00
c3b006c281 Fully embrace profiles 2026-03-29 09:16:57 +00:00
64bbcdd64a Formatting 2026-03-29 09:16:57 +00:00
19e53feccd fix clang 2026-03-29 09:16:57 +00:00
842ff8963c ASAN on Windows 2026-03-29 09:16:57 +00:00
cec23c8c02 Fix generate dependencies script 2026-03-29 09:16:57 +00:00
f780e6f59a Sanitizers 2026-03-29 09:16:57 +00:00
934b44c1f8 Asan 2026-03-29 09:16:57 +00:00
7c0f086969 Layout 2026-03-29 09:16:57 +00:00
56e558e830 Fix guard name 2026-03-29 09:16:57 +00:00
8fe1281cb7 Utilities 2026-03-29 09:16:57 +00:00
9f32d230d5 ODR 2026-03-29 09:16:57 +00:00
23a3b4b904 remove rapidhash 2026-03-29 09:16:57 +00:00
529f053e60 File layout 2026-03-29 09:16:57 +00:00
0bb0c23fe4 Fix no error message on fail
All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m0s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m7s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m5s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 47s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 47s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m2s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m6s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 54s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 53s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 43s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 45s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 58s
Conan Packaging / Package Bin2CPP/1.0.0 (push) Successful in 57s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 37s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 38s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 44s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 44s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m6s
Bin2CPP / Clang Format Checks (push) Successful in 9s
2026-03-29 03:12:16 +02:00
6bfd732541 logging disable by default
All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m29s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m30s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 43s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 45s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 53s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 54s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m18s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m17s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 53s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 56s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m12s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m20s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m5s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m0s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 48s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 49s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m5s
Bin2CPP / Clang Format Checks (push) Successful in 9s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m10s
Conan Packaging / Package Bin2CPP/1.0.0 (push) Successful in 1m5s
2026-03-29 01:57:48 +01:00
6886599bdb fix packaging
Some checks failed
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (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 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
Conan Packaging / Package Bin2CPP/1.0.0 (push) Successful in 55s
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 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
2026-03-28 23:57:44 +01:00
0afdd97801 Packaging
Some checks failed
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 43s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 43s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m16s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m4s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m5s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 49s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m19s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m19s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 58s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 58s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m20s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m10s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m6s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 49s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 50s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m6s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m9s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Conan Packaging / Package Bin2CPP/1.0.0 (push) Failing after 57s
2026-03-28 23:46:05 +01:00
adc31eb9a0 Bin2Cpp
All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m44s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m45s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 48s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 49s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m6s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m5s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m28s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m28s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 1m8s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 1m7s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m24s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m22s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 38s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 34s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 31s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 30s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 43s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 44s
Bin2CPP / Clang Format Checks (push) Successful in 9s
2026-03-28 23:02:28 +01:00
c9d1e60628 fix asan
All checks were successful
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m15s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m16s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 56s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 56s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 45s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 47s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 59s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 57s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 1m3s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 1m2s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m30s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m31s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 32s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 33s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 31s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 32s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 42s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 42s
Bin2CPP / Clang Format Checks (push) Successful in 9s
2026-02-28 11:01:52 +01:00
5a8ae1b28e Fix asan
All checks were successful
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 53s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 46s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 46s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 1m0s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m32s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m32s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 51s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 44s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 46s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 56s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 56s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 56s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m10s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m11s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 1m2s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 40s
Bin2CPP / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 54s
Bin2CPP / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 33s
2026-02-28 10:52:27 +01:00
87ba2b138b Fix name
Some checks failed
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 54s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 54s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 48s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 48s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Successful in 1m4s
Bin2CPP / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Successful in 1m5s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Successful in 1m22s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Successful in 1m23s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Successful in 1m4s
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Successful in 1m5s
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 (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 Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Clang Format Checks (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
2026-02-28 10:47:08 +01:00
b636ffaa71 more profiles
Some checks failed
Bin2CPP / Build & Test with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Clang Format Checks (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
2026-02-28 10:46:03 +01:00
2586466936 Cleaner CMake
All checks were successful
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (Unity Build: ON) (push) Successful in 1m37s
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (Unity Build: OFF) (push) Successful in 1m38s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (Unity Build: ON) (push) Successful in 1m45s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (Unity Build: OFF) (push) Successful in 1m45s
Bin2CPP / Build & Test Release (Unity Build: OFF) (push) Successful in 39s
Bin2CPP / Clang Format Checks (push) Successful in 9s
Bin2CPP / Build & Test Release (Unity Build: ON) (push) Successful in 2m56s
2026-02-26 07:58:12 +01:00
b12025edab less sanitizers
All checks were successful
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (push) Successful in 1m6s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release (push) Successful in 32s
2026-02-22 12:12:17 +01:00
24a0c3f06f remove asan from memsanitizer build
Some checks failed
Bin2CPP / Build & Test Debug (MSAN) (push) Failing after 59s
Bin2CPP / Build & Test RelWithDebInfo (MSAN) (push) Failing after 1m17s
Bin2CPP / Clang Format Checks (push) Successful in 10s
Bin2CPP / Build & Test Release (push) Successful in 34s
2026-02-22 12:10:10 +01:00
cd0fe8cee9 memory sanitizer
Some checks failed
Bin2CPP / Build & Test Debug (MSAN) (push) Failing after 31s
Bin2CPP / Build & Test RelWithDebInfo (MSAN) (push) Failing after 35s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release (push) Successful in 39s
2026-02-22 12:04:54 +01:00
4f4cd59b8e less sanitizers
All checks were successful
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (push) Successful in 50s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (push) Successful in 1m4s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release (push) Successful in 33s
2026-02-22 11:39:21 +01:00
66b5c7a000 more sanitizers
Some checks failed
Bin2CPP / Build & Test Debug (MSAN) (push) Failing after 47s
Bin2CPP / Build & Test RelWithDebInfo (MSAN) (push) Failing after 1m0s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release (push) Successful in 32s
2026-02-22 11:36:54 +01:00
b6d49fce5e more sanitizers
Some checks failed
Bin2CPP / Build & Test Debug (TSAN, MSAN) (push) Failing after 1m16s
Bin2CPP / Build & Test RelWithDebInfo (TSAN, MSAN) (push) Failing after 1m25s
Bin2CPP / Clang Format Checks (push) Successful in 10s
Bin2CPP / Build & Test Release (push) Successful in 41s
2026-02-22 11:33:19 +01:00
42804dccb7 Multiple typos
All checks were successful
Bin2CPP / Build & Test Debug (push) Successful in 1m0s
Bin2CPP / Build & Test RelWithDebInfo (push) Successful in 1m13s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Build & Test Release (push) Successful in 40s
2026-02-22 00:57:35 +01:00
5e06848610 options now from profiles
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 49s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m2s
Bigfoot / Clang Format Checks (push) Successful in 9s
Bigfoot / Build & Test Release (push) Successful in 33s
2026-02-22 00:22:51 +01:00
766b44ac72 Fully embrace profiles
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 59s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m13s
Bigfoot / Clang Format Checks (push) Successful in 9s
Bigfoot / Build & Test Release (push) Successful in 38s
2026-02-22 00:20:45 +01:00
9b6ab354f3 Formatting
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 49s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m1s
Bigfoot / Clang Format Checks (push) Successful in 9s
Bigfoot / Build & Test Release (push) Successful in 34s
2026-02-21 17:08:44 +01:00
90e67de0fc fix clang
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 50s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m2s
Bigfoot / Clang Format Checks (push) Failing after 9s
Bigfoot / Build & Test Release (push) Successful in 34s
2026-02-21 16:54:10 +01:00
ef220716ab ASAN on Windows
Some checks failed
Bigfoot / Build & Test RelWithDebInfo (push) Failing after 23s
Bigfoot / Build & Test Debug (push) Failing after 23s
Bigfoot / Clang Format Checks (push) Failing after 8s
Bigfoot / Build & Test Release (push) Failing after 17s
2026-02-21 16:50:48 +01:00
b6c636b031 Fix generate dependencies script
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 1m19s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m30s
Bigfoot / Clang Format Checks (push) Failing after 9s
Bigfoot / Build & Test Release (push) Successful in 39s
2026-02-21 13:57:22 +01:00
7ecb7ebc76 Sanitizers
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 59s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m10s
Bigfoot / Clang Format Checks (push) Failing after 10s
Bigfoot / Build & Test Release (push) Successful in 41s
2026-02-20 21:01:49 +01:00
f0fca19046 Asan
Some checks failed
Bigfoot / Build & Test Debug (push) Failing after 1m10s
Bigfoot / Build & Test RelWithDebInfo (push) Failing after 1m17s
Bigfoot / Build & Test Release (push) Successful in 40s
Bigfoot / Clang Format Checks (push) Failing after 11s
2026-02-20 19:44:57 +01:00
82d02ce940 Merge branch 'V1' of https://git.romainboullard.com/rboullard/Bin2CPP into V1
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 1m16s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m10s
Bigfoot / Build & Test Release (push) Successful in 38s
Bigfoot / Clang Format Checks (push) Failing after 9s
2026-02-19 17:54:59 +01:00
94c7617cc9 ODR 2026-02-19 17:54:54 +01:00
dac5cbe20d Layout
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 45s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m3s
Bigfoot / Build & Test Release (push) Successful in 33s
Bigfoot / Clang Format Checks (push) Failing after 9s
2026-02-16 21:02:47 +01:00
16cebe427e Fix guard name
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 43s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m1s
Bigfoot / Clang Format Checks (push) Has been cancelled
Bigfoot / Build & Test Release (push) Has been cancelled
2026-02-16 21:00:35 +01:00
d4d71a8369 Utilities
Some checks failed
Bigfoot / Build & Test Debug (push) Successful in 1m20s
Bigfoot / Build & Test Release (push) Has been cancelled
Bigfoot / Clang Format Checks (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo (push) Has been cancelled
2026-02-16 20:58:47 +01:00
ee1dc86273 remove rapidhash
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 40s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 53s
Bigfoot / Build & Test Release (push) Successful in 26s
Bigfoot / Clang Format Checks (push) Successful in 8s
2026-02-15 16:09:35 +01:00
95c8066d26 File layout
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 40s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 53s
Bigfoot / Build & Test Release (push) Successful in 27s
Bigfoot / Clang Format Checks (push) Successful in 8s
2026-02-15 16:03:43 +01:00
1f61574360 Fix CI gitea workflow #2
All checks were successful
Bin2CPP / Build & Test Debug (push) Successful in 36s
Bin2CPP / Build & Test RelWithDebInfo (push) Successful in 53s
Bin2CPP / Build & Test Release (push) Successful in 26s
Bin2CPP / Clang Format Checks (push) Successful in 8s
Bin2CPP / Sonarqube (push) Successful in 40s
2026-02-15 10:48:55 +00:00
8e8a5a03c5 Fix CI gitea workflow
Some checks failed
Bin2CPP / Build & Test RelWithDebInfo (push) Has been cancelled
Bin2CPP / Build & Test Release (push) Has been cancelled
Bin2CPP / Clang Format Checks (push) Has been cancelled
Bigfoot / Sonarqube (push) Has been cancelled
Bin2CPP / Build & Test Debug (push) Has been cancelled
2026-02-15 10:48:23 +00:00
18 changed files with 136 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ jobs:
- name: Build
run: |
conan install . --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:b=${{ matrix.conan_profile }} --build=missing -s build_type=${{ matrix.build_type }} -o bin2cpp/*:build_tests=True
conan install . --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:b=${{ matrix.conan_profile }} --build=missing -s build_type=${{ matrix.build_type }}
cmake -S . -B ./build/${{ matrix.build_type }} --toolchain ./build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_UNITY_BUILD=${{ matrix.unity_build }} -G "Ninja"
cmake --build build/${{ matrix.build_type }} --parallel $(nproc)

View File

@@ -35,6 +35,7 @@ target_link_libraries(${PROJECT_NAME}
PRIVATE
Bin2CPPCompileAndLinkFlags
PUBLIC
$<IF:$<BOOL:${ASAN}>,mimalloc-asan,mimalloc-static>
quill::quill
$<$<CONFIG:Debug,RelWithDebInfo>:cpptrace::cpptrace>
magic_enum::magic_enum)

View File

@@ -139,7 +139,7 @@ bool Generator::ComputeMappings()
bool Generator::ComputeFilename()
{
std::filesystem::path file {m_inputFile.data()};
m_mappingTable[magic_enum::enum_index(MappingKey::FILENAME).value()] = file.filename().string();
m_mappingTable[magic_enum::enum_index(MappingKey::FILENAME).value()] = file.filename().string().c_str();
return true;
}

View File

@@ -62,24 +62,18 @@ class Log
#define BIN2CPP_LOG_DEBUG(fmt, ...) \
do \
{ \
if (Bin2CPP::Singleton<Bin2CPP::Log>::HasInstance()) \
if (quill::Logger* logger = Bin2CPP::Singleton<Bin2CPP::Log>::Instance().GetLogger()) \
{ \
if (quill::Logger* logger = Bin2CPP::Singleton<Bin2CPP::Log>::Instance().GetLogger()) \
{ \
QUILL_LOG_DEBUG(logger, fmt __VA_OPT__(, ) __VA_ARGS__); \
} \
QUILL_LOG_DEBUG(logger, fmt __VA_OPT__(, ) __VA_ARGS__); \
} \
} while (0)
#define BIN2CPP_LOG_TRACE(fmt, ...) \
do \
{ \
if (Bin2CPP::Singleton<Bin2CPP::Log>::HasInstance()) \
if (quill::Logger* logger = Bin2CPP::Singleton<Bin2CPP::Log>::Instance().GetLogger()) \
{ \
if (quill::Logger* logger = Bin2CPP::Singleton<Bin2CPP::Log>::Instance().GetLogger()) \
{ \
QUILL_LOG_TRACE_L3(logger, fmt __VA_OPT__(, ) __VA_ARGS__); \
} \
QUILL_LOG_TRACE_L3(logger, fmt __VA_OPT__(, ) __VA_ARGS__); \
} \
} while (0)

View File

@@ -39,8 +39,6 @@ void Log::Flush()
Log::~Log()
{
Flush();
for (quill::Logger* logger: quill::Frontend::get_all_loggers())
{
quill::Frontend::remove_logger(logger);

View File

@@ -0,0 +1,96 @@
/*********************************************************************
* \file MimallocImpl.cpp
*
* \author Romain BOULLARD
* \date February 2026
*********************************************************************/
#if defined BIN2CPP_WINDOWS
#pragma comment(linker, "/include:mi_version")
#pragma warning(disable: 4100 4559)
#elif defined BIN2CPP_LINUX
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
#endif
#endif
// Taken from mimalloc-new-delete.h
// clang-format off
// ----------------------------------------------------------------------------
// This header provides convenient overrides for the new and
// delete operations in C++.
//
// This header should be included in only one source file!
//
// On Windows, or when linking dynamically with mimalloc, these
// can be more performant than the standard new-delete operations.
// See <https://en.cppreference.com/w/cpp/memory/new/operator_new>
// ---------------------------------------------------------------------------
#if defined(__cplusplus)
#include <new>
#include <mimalloc.h>
#if defined(_MSC_VER) && defined(_Ret_notnull_) && defined(_Post_writable_byte_size_)
// stay consistent with VCRT definitions
#define mi_decl_new(n) mi_decl_nodiscard mi_decl_restrict _Ret_notnull_ _Post_writable_byte_size_(n)
#define mi_decl_new_nothrow(n) mi_decl_nodiscard mi_decl_restrict _Ret_maybenull_ _Success_(return != NULL) _Post_writable_byte_size_(n)
#else
#define mi_decl_new(n) mi_decl_nodiscard mi_decl_restrict
#define mi_decl_new_nothrow(n) mi_decl_nodiscard mi_decl_restrict
#endif
void operator delete(void* p) noexcept { mi_free(p); };
void operator delete[](void* p) noexcept { mi_free(p); };
void operator delete (void* p, const std::nothrow_t&) noexcept { mi_free(p); }
void operator delete[](void* p, const std::nothrow_t&) noexcept { mi_free(p); }
mi_decl_new(n) void* operator new(std::size_t n) noexcept(false) { return mi_new(n); }
mi_decl_new(n) void* operator new[](std::size_t n) noexcept(false) { return mi_new(n); }
mi_decl_new_nothrow(n) void* operator new (std::size_t n, const std::nothrow_t& tag) noexcept { (void)(tag); return mi_new_nothrow(n); }
mi_decl_new_nothrow(n) void* operator new[](std::size_t n, const std::nothrow_t& tag) noexcept { (void)(tag); return mi_new_nothrow(n); }
// Not from mimalloc-new-delete.h, but necessary for EASTL
void* operator new[](size_t size, const char* name, int flags, unsigned debugFlags, const char* file, int line) noexcept(false) { return mi_new(size); }
#if (__cplusplus >= 201402L || _MSC_VER >= 1916)
void operator delete (void* p, std::size_t n) noexcept { mi_free_size(p,n); };
void operator delete[](void* p, std::size_t n) noexcept { mi_free_size(p,n); };
#endif
#if (__cplusplus > 201402L || defined(__cpp_aligned_new))
void operator delete (void* p, std::align_val_t al) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
void operator delete[](void* p, std::align_val_t al) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
void operator delete (void* p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned(p, n, static_cast<size_t>(al)); };
void operator delete[](void* p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned(p, n, static_cast<size_t>(al)); };
void operator delete (void* p, std::align_val_t al, const std::nothrow_t&) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
void operator delete[](void* p, std::align_val_t al, const std::nothrow_t&) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
void* operator new (std::size_t n, std::align_val_t al) noexcept(false) { return mi_new_aligned(n, static_cast<size_t>(al)); }
void* operator new[](std::size_t n, std::align_val_t al) noexcept(false) { return mi_new_aligned(n, static_cast<size_t>(al)); }
void* operator new (std::size_t n, std::align_val_t al, const std::nothrow_t&) noexcept { return mi_new_aligned_nothrow(n, static_cast<size_t>(al)); }
void* operator new[](std::size_t n, std::align_val_t al, const std::nothrow_t&) noexcept { return mi_new_aligned_nothrow(n, static_cast<size_t>(al)); }
// Not from mimalloc-new-delete.h, but necessary for EASTL
void* operator new[](size_t size, size_t alignment, size_t alignmentOffset, const char* pName, int flags, unsigned debugFlags, const char* file, int line) noexcept(false) { return mi_new_aligned(size, alignment); }
#endif
#endif
// clang-format on
#if defined BIN2CPP_WINDOWS
#pragma warning(default: 4100 4559)
#elif defined BIN2CPP_LINUX
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
#pragma GCC diagnostic pop
#else
#pragma clang diagnostic pop
#endif
#endif

View File

@@ -39,7 +39,9 @@ TEST_F(GeneratorFixture, GenerateDefault)
namespace
{
inline constexpr std::array<std::byte, 11> g_toto_txt = {
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F}, std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C}, std::byte{0x64}
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F},
std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C},
std::byte{0x64}
};
} // namespace
@@ -71,7 +73,9 @@ TEST_F(GeneratorFixture, GenerateNamespace)
namespace Test
{
inline constexpr std::array<std::byte, 11> g_toto_txt = {
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F}, std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C}, std::byte{0x64}
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F},
std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C},
std::byte{0x64}
};
} // namespace Test
@@ -105,7 +109,9 @@ TEST_F(GeneratorFixture, GenerateCustomArray)
namespace
{
inline constexpr eastl::array<std::byte, 11> g_myArray = {
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F}, std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C}, std::byte{0x64}
std::byte{0x48}, std::byte{0x65}, std::byte{0x6C}, std::byte{0x6C}, std::byte{0x6F},
std::byte{0x20}, std::byte{0x57}, std::byte{0x6F}, std::byte{0x72}, std::byte{0x6C},
std::byte{0x64}
};
} // namespace

View File

@@ -9,6 +9,12 @@ find_package(magic_enum REQUIRED)
find_package(CLI11 REQUIRED)
find_package(quill REQUIRED)
if(${ASAN})
find_package(mimalloc-asan REQUIRED)
else()
find_package(mimalloc REQUIRED)
endif()
find_package(cpptrace REQUIRED)
if(BUILD_TESTS)

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.26)
project(Bin2CPP VERSION 1.0.0
project(Bin2CPP VERSION 0.1.0
DESCRIPTION "Bin2CPP"
LANGUAGES CXX)

View File

@@ -29,4 +29,4 @@ tools.cmake.cmaketoolchain:generator=Ninja
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:build_tests=True
Bin2CPP/*:build_tests=True

View File

@@ -26,5 +26,5 @@ tools.build:compiler_executables={"c": "clang", "cpp": "clang++"}
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:build_tests=True
bin2cpp/*:coverage=True
Bin2CPP/*:build_tests=True
Bin2CPP/*:coverage=True

View File

@@ -26,4 +26,4 @@ tools.build:compiler_executables={"c": "clang", "cpp": "clang++"}
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:build_tests=True
Bin2CPP/*:build_tests=True

View File

@@ -29,5 +29,5 @@ tools.build:compiler_executables={"c": "clang", "cpp": "clang++"}
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:asan=True
bin2cpp/*:build_tests=True
Bin2CPP/*:asan=True
Bin2CPP/*:build_tests=True

View File

@@ -21,4 +21,4 @@ tools.build:cxxflags=["/Zc:preprocessor", "/permissive-", "/Zc:__cplusplus", "/Z
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:build_tests=True
Bin2CPP/*:build_tests=True

View File

@@ -17,4 +17,4 @@ tools.build:cxxflags=["/Zc:preprocessor", "/permissive-", "/Zc:__cplusplus", "/Z
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:build_tests=True
Bin2CPP/*:build_tests=True

View File

@@ -14,12 +14,12 @@ tools.cmake.cmaketoolchain:user_toolchain+={{profile_dir}}/msvc_ccache.cmake
tools.build:exelinkflags=["/INCREMENTAL:NO"]
tools.build:sharedlinkflags=["/INCREMENTAL:NO"]
tools.build:cflags=["/Zc:preprocessor", "/Zc:__STDC__", "/D_CRT_DECLARE_NONSTDC_NAMES=1", "/fsanitize=address"]
tools.build:cxxflags=["/Zc:preprocessor", "/permissive-", "/Zc:__cplusplus", "/Zc:enumTypes", "/Zc:templateScope", "/Zc:throwingNew", "/fsanitize=address"]
tools.build:cflags=["/Zc:preprocessor", "/Zc:__STDC__", "/D_CRT_DECLARE_NONSTDC_NAMES=1"]
tools.build:cxxflags=["/Zc:preprocessor", "/permissive-", "/Zc:__cplusplus", "/Zc:enumTypes", "/Zc:templateScope", "/Zc:throwingNew"]
[tool_requires]
!cmake/*: cmake/[>=4.2]
[options]
bin2cpp/*:asan=True
bin2cpp/*:build_tests=True
Bin2CPP/*:asan=True
Bin2CPP/*:build_tests=True

View File

@@ -45,9 +45,13 @@ class Bin2CPP(ConanFile):
if self.settings.os == "Windows":
del self.options.fPIC
if(self.options.asan):
self.options["mimalloc"].asan = True
def requirements(self):
self.requires("quill/11.0.2", transitive_headers=True)
self.requires("magic_enum/0.9.7", transitive_headers=True)
self.requires("mimalloc/3.2.8@bigfootdev/main", transitive_headers=True)
self.requires("cli11/2.6.1@bigfootdev/main")
self.requires("cpptrace/1.0.4", transitive_headers=True)

View File

@@ -1,6 +1,6 @@
sonar.projectKey=Bin2CPP
sonar.projectVersion=1.0.0
sonar.projectVersion=0.1.0
sonar.sourceEncoding=UTF-8