This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Plugin] Add definition to duchain

Tags: None
(comma "," separated)
bietje
Registered Member
Posts
1
Karma
0

[Plugin] Add definition to duchain

Fri Oct 26, 2012 12:02 am
Hi,

I'm developing a plugin to add defines added by your gcc/g++. These defines cannot be found by KDevelop and thus, generate unjustified errors. Now, my plugin provides a tool view to add these defines: a name and their value. I couldn't figure out from the DUChain documentation how I can add these defines to (if possible) all projects open.

So in a nut shell it want something like:
Code: Select all
...
#define name value
...

Without the need of including that header file: just by adding them 'virtually' to the DUChain.

Having that said, brings me to the point of formulating my question: how do I add such a define to the KDevplatform framework?

Greetz,
Bietje


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]