You can build it any way you want, just be sure to use CMAKE_INSTALL_PREFIX to install obs-studio-node in a folder of your choosing. You need to build obs-studio-node in order to run the tests. The tests for obs studio node are written in Typescript and use Mocha as test framework, with electron-mocha pacakage to make Mocha run in Electron, and Chai as assertion framework. And files which failed to compile will not be scanned for errors. Step with "fixing" errors is important as code base and especially third-party code are not ready to be build with clang. Scan-build -keep-empty -internal-stats -stats -v -v -v -o check ninja.exe "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"Ĭmake -G "Ninja" -DCLANG_ANALYZE_CONFIG=1 -DCMAKE_INSTALL_PREFIX:PATH="" -DCMAKE_LINKER=lld-link -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_SYSTEM_NAME="Generic" -DCMAKE_MAKE_PROGRAM=ninja.exe. Install cppcheck from and add cppcheck folder to PATH If you don't know how to build obs-studio from source, you may find instructions here.
0 Comments
Leave a Reply. |