qsort
This tiny project provides an example of how to useCMake to build a C project and to generate the clang"compile_commands.json" file which is used by toolslike the c2rust-ast-exporter.
Build with the following commands:
$ mkdir ../build
$ cd ../build
$ cmake ../qsort -DCMAKE_EXPORT_COMPILE_COMMANDS=1
$ cmake --build .
$ c2rust transpile compile_commands.json