Federico Giovanardi
664513aa44
Make clang_compilation_database compatible with variants
...
In the current implementation if a project is using
build variants it's not possible to use the clang_compilation_database
plugin because it strips the variant information from the build object.
2021-07-15 19:09:43 +02:00
Thomas Nagy
da5769172b
Add more docs to clang_compilation_database
2021-01-19 17:50:56 +01:00
Thomas Nagy
0d0aa45d0b
Increase clang_compilation_database and swig compatibility
2021-01-19 17:14:58 +01:00
Thomas Nagy
a74d40a505
Improve clang_compilation_database interaction with wafcache
2020-12-15 13:07:47 +01:00
Morten V. Pedersen
3204e2597c
Using suggested self.cmd.startswith approach
2020-01-02 19:58:25 +01:00
Morten V. Pedersen
058b5d3793
Fix detection of build context when a custom context is used
2020-01-02 19:58:18 +01:00
Thomas Nagy
b27afc7bbc
Use task.get_cwd() in clang_compilation_database
2019-11-10 19:01:38 +01:00
Rafaël Kooi
5343e8547a
Add back an accidentally deleted line clang_compilation_database.py
2019-11-10 15:45:36 +01:00
Thomas Nagy
394f3cdac8
Typo
2019-11-10 12:34:36 +01:00
Thomas Nagy
16dbeb73e8
Fix relative path comparisons in clang_compilation_database
2019-11-10 12:32:20 +01:00
Alibek Omarov
b8fd6a0515
clang_compilation_database: fix #2247 , add clangdb command to generate database by request without rebuilding, add tests (WIP)
2019-09-08 20:05:37 +00:00
Fangrui Song
5e4b86b81d
Use "arguments" instead of "command" for compile_commands.json
2018-03-11 21:54:35 +01:00
Simon Guillot
069d5dca2e
Fix bug in the clang_compilation_database tool when no C compiler is loaded
2017-03-14 22:21:10 +01:00
DragoonX6
0c541f606a
Make clang_compilation_database add-on always output complete listings.
2017-02-18 13:04:59 +01:00
Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
7778868718
Set TaskBase.keep_last_cmd to keep the last command executed
2016-07-30 10:09:55 +02:00
Thomas Nagy
70e438393d
Add a parameter to keep the last command executed
2016-07-29 23:10:26 +02:00
Thomas Nagy
3169e0bd4b
Cleanup
2016-07-29 23:02:15 +02:00
Thomas Nagy
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed
2016-05-28 16:18:51 +02:00
Jérôme Carretero
f462fd9f31
extras: clang_compilation_database: python3 fixes
2014-01-02 18:26:10 -05:00
Thomas Nagy
487cc43df2
Issue 1354, clang compilation databases
2013-09-11 07:50:25 +02:00