Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Plugins development
»
A new plugin: Clang compilation database generator
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: A new plugin: Clang compilation database generator (Read 7707 times)
yvesdm3000
Almost regular
Posts: 225
A new plugin: Clang compilation database generator
«
on:
December 10, 2016, 08:46:56 pm »
See
https://github.com/yvesdm3000/cbClangCompileCommands
For initial version.
Yves
Logged
Clang based code completion for Code::Blocks:
http://github.com/yvesdm3000/ClangLib
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: A new plugin: Clang compilation database generator
«
Reply #1 on:
December 11, 2016, 12:40:05 am »
Have you tried the plugin on linux?
I doubt it will work there because I see \r\n all over the code.
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
yvesdm3000
Almost regular
Posts: 225
Re: A new plugin: Clang compilation database generator
«
Reply #2 on:
December 11, 2016, 02:45:43 am »
That is correct, it only has a windows project for now as a first step. I need to see how it reacts on linux the following days and I'll fix the issues that I encounter.
Yves
Logged
Clang based code completion for Code::Blocks:
http://github.com/yvesdm3000/ClangLib
yvesdm3000
Almost regular
Posts: 225
Re: A new plugin: Clang compilation database generator
«
Reply #3 on:
December 12, 2016, 09:19:18 pm »
The last commit now has a unix .cbp file. I installed the .so and the .zip file manually, I don't know if the generated .cbplugin file works.
Known issues:
Only full paths generated
Treats headerfiles and other resource files as source files.
Doesn't take the 'extra' compile options from the ClangCC plugin yet. Not sure if this is a big problem.
No configuration GUI yet
Yves
Logged
Clang based code completion for Code::Blocks:
http://github.com/yvesdm3000/ClangLib
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Plugins development
»
A new plugin: Clang compilation database generator