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:

  1. $ mkdir ../build
  2. $ cd ../build
  3. $ cmake ../qsort -DCMAKE_EXPORT_COMPILE_COMMANDS=1
  4. $ cmake --build .
  5. $ c2rust transpile compile_commands.json