Building OCLint¶
This page presents building OCLint in release mode.
System Requirements¶
- See LLVM System Requirements
- Python
- Git
- Apache Subversion
- CMake
- OpenSSL (only for analytics-enabled build)
Building OCLint¶
The whole build process can be done with the make
script inside oclint-scripts
folder.
cd oclint-scripts
./make
cd ..
Verifying the Build¶
By calling the binary
./build/oclint-<major>.<minor>.dev.<git-hash>/bin/oclint
The following error message is expected:
oclint: Not enough positional command line arguments specified!
Must specify at least 1 positional arguments: See: ./oclint -help
It’s highly recommended to add the bin directory into system PATH.
See also
If you are looking for compiling and testing OCLint in debug mode for development and testing purposes, please move onto development section.