C++ Parser and preproc definitions at the command line

Andreas Pakulat apaku at gmx.de
Wed May 5 16:27:51 BST 2010


On 05.05.10 17:06:18, Gunther Piez wrote:
> Hello,
> 
> does the parser handle command line definitions of preprocessor macros, like 
> in "g++ -DQT_USE_GUI ..." or similar, in the semantic analysis of the source? 
> The were added with the CMAKE_ADD_DEFINITIONS in CMakeLists.txt.
> Currently for me all symbols seem undefined, but this I am not sure if my 
> kdevelop is misconfigured.

See the Question from Esben just a few hours ago, in theory yes the c++
support asks the cmake plugin for the definitions. But of course there
could be bugs in the cmake support making this not happen as it should.

Andreas

-- 
There is a 20% chance of tomorrow.




More information about the KDevelop mailing list