compile_db 0.0.5
parse compile_commands.json
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
compile_db
compile_db is a library for reading and parsing compile_commands.json
.
The standard for the format is here
Note
The code is not the prettiest but it works. Reversing a "string" to the original argument array is not the easiest when there are spaces, utf-8 characters such as arabic or chinese, deviations from how CLI arguments work 2021 because compilers are old etc.
Code cleanup, refactoring etc is welcome but try not to break the API too much or leave an easy to follow upgrade path because there are a significant amount of code depending on the current API.
- Registered by Joakim Brännström
- 0.0.5 released 8 months ago
- joakim-brannstrom/compile_db
- MPL-2
- Copyright © 2019, Joakim Brännström
- Authors:
- Dependencies:
- mylib
- Versions:
-
0.0.5 2024-Mar-25 0.0.4 2024-Feb-22 0.0.3 2024-Feb-22 0.0.2 2021-Aug-19 0.0.1 2021-Aug-19 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
202 downloads total
-
- Score:
- 0.5
- Short URL:
- compile_db.dub.pm