|
ACAV f0ba4b7c9529
Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C
|
Before building ACAV, make sure the host system provides:
Using ACAV on a project also requires a valid JSON compilation database such as compile_commands.json. ACAV relies on this file to recover the compiler flags, include paths, and language standard for each source file.
Common ways to produce a compilation database include:
ACAV ships CMake presets for common development environments.
These builds produce the acav, make-ast, and query-dependencies executables in the corresponding out/.../bin directory.
For a reproducible development environment, ACAV can be built in a container with the repository helper script:
To run the prebuilt OCI demo image from a release bundle, start with the Docker/Podman demo image quick start. For custom image, runtime, workspace, and desktop-display options, see Running the GUI Application. The same source instructions are maintained in DOCKER_IMAGE_README.md.
Once ACAV is installed, start the GUI by supplying a compilation database:
If you are running directly from a build tree instead of an installed prefix, invoke the binary from out/linux-debug/bin or out/macos-debug/bin.
You can also launch acav without arguments and then open the compilation database from File -> Open Compilation Database.
After launch, continue with the User Manual for the GUI workflow and command-line tool reference.