Federico Giovanardi
23df45272c
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 10:57:23 +02:00
Thomas Nagy
f95264563e
Add more docs to clang_compilation_database
2021-01-19 17:49:54 +01:00
Thomas Nagy
99a041cb36
Increase clang_compilation_database and swig compatibility
2021-01-13 17:39:52 +01:00
Thomas Nagy
307202417c
Improve clang_compilation_database interaction with wafcache
2020-12-16 11:08:11 +01:00
Morten V. Pedersen
6467070a1f
Using suggested self.cmd.startswith approach
2020-01-02 14:47:39 +01:00
Morten V. Pedersen
23c533566f
Fix detection of build context when a custom context is used
2019-12-18 11:24:32 +01:00
Thomas Nagy
ec79cdf125
Use task.get_cwd() in clang_compilation_database
2019-11-10 19:00:50 +01:00
Rafaël Kooi
c0c4e29c9f
Add back an accidentally deleted line clang_compilation_database.py
2019-11-10 15:50:30 +01:00
Thomas Nagy
3832f5c94b
Typo
2019-11-10 12:34:18 +01:00
Thomas Nagy
5b82ba4fa4
Fix relative path comparisons in clang_compilation_database
2019-11-10 12:32:51 +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