make windows-compliant

- fix BS_thread_pool include error (pulls in windows.h, symbols were
redefined)
- remove all std::println uses :(, seems like mingw doesn't like those
- allow to disable backward from cmake
This commit is contained in:
2026-02-27 12:31:08 +01:00
parent 16df3b7d51
commit 85ed3a758a
11 changed files with 110 additions and 60 deletions

View File

@ -36,6 +36,18 @@ auto main(int argc, char *argv[]) -> int {
preset_file = argv[1];
}
#ifdef BACKWARD
std::cout << std::format("Backward stack-traces enabled.") << std::endl;
#else
std::cout << std::format("Backward stack-traces disabled.") << std::endl;
#endif
#ifdef TRACY
std::cout << std::format("Tracy adapter enabled.") << std::endl;
#else
std::cout << std::format("Tracy adapter disabled.") << std::endl;
#endif
// RayLib window setup
SetTraceLogLevel(LOG_ERROR);
SetConfigFlags(FLAG_VSYNC_HINT);