

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. Ninja and LLVM have to be installed in system.

Some warnings suppressed in files obs-studio-client/cppcheck_suppressions_list.txt and obs-studio-server/cppcheck_suppressions_list.txt.

Report output format set as compatible and navigation to file:line posiible from build results panel. Install cppcheck from and add cppcheck folder to PATHĪlso target can be built from Visula Studio. If you don't know how to build obs-studio from source, you may find instructions here. However, some changes need to be made to obs-studio's default configuration before building: You may specify a custom archive of your own. However, this pre-built version may not be what you want to use or maybe you're testing a new obs feature. Custom OBS Buildīy default, we download a pre-built version of libobs if none is specified. This will will download any required dependencies, build the module, and then place it in an archive compatible with npm or yarn that you may specify in a given package.json. It follows a pretty standard cmake layout and you may execute it however you want.Ĭmake.

We use a flexible cmake script to be as broad and generic as possible in order to prevent the need to constantly manage the cmake script for custom uses, while also providing sane defaults.
