Installing the CPG library
You can install the library from pre-built releases or build it from the source code.
Get Pre-Built Releases¶
You can find the releases in our gitHub repository or on maven.
Building from Source¶
- Clone the repository from GitHub with
git clone git@github.com:Fraunhofer-AISEC/cpg.git
. - Generate a
gradle.properties
file locally. We provide a sample file here, or you can use theconfigure_frontends.sh
scripts to generate the file. - Build the project using
./gradlew build
or install it with./gradlew installDist
. You could also build selected submodules.