Building OCLint¶
This page presents you a shortcut of building OCLint release version.
Note
If you are looking for compiling and testing OCLint in debug mode for development purposes, please move onto development section.
System Requirements¶
Prepare LLVM/Clang¶
- Checkout LLVM/Clang
cd oclint-scripts
./checkoutLLVMClang.sh
cd ..
- Build LLVM/Clang
cd oclint-scripts
./buildClang.sh release
cd ..
Build OCLint¶
cd oclint-scripts
./buildAll.sh
cd ..
Verify Your Build¶
cd build/oclint-release/bin
./oclint
You should get:
$ ./oclint
oclint: Not enough positional command line arguments specified!
Must specify at least 1 positional arguments: See: ./oclint -help
Now, let’s move onto installation.