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:
12
src/main.cpp
12
src/main.cpp
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user