SL-821: Move Windows BugSplat engagement from llcommon to newview.
Use WSTRINGIZE(), LL_TO_WSTRING(), wstringize() to produce required wide strings. Use a lambda for callback that sends log file; use LLDir, if set, to find the log file. Introduce BUGSPLAT CMake variable to allow suppressing BugSplat. Make BUGSPLAT CMake variable set LL_BUGSPLAT for C++ compilations. Set viewer version macros on llappviewerwin32.cpp, llappviewerlinux.cpp and llappdelegate-objc.mm -- because BugSplat needs the viewer version data, and because the macOS BugSplat hook is engaged in an Objective-C++ function we override in the app delegate.
Showing
- indra/cmake/CMakeLists.txt 1 addition, 0 deletionsindra/cmake/CMakeLists.txt
- indra/cmake/bugsplat.cmake 28 additions, 18 deletionsindra/cmake/bugsplat.cmake
- indra/llcommon/CMakeLists.txt 1 addition, 9 deletionsindra/llcommon/CMakeLists.txt
- indra/llcommon/llapp.cpp 3 additions, 57 deletionsindra/llcommon/llapp.cpp
- indra/llcommon/llapp.h 1 addition, 9 deletionsindra/llcommon/llapp.h
- indra/newview/CMakeLists.txt 22 additions, 1 deletionindra/newview/CMakeLists.txt
- indra/newview/llappviewerwin32.cpp 45 additions, 4 deletionsindra/newview/llappviewerwin32.cpp
Please register or sign in to comment