KDevelop does not handle add_definitions in cmake files

BogDan Vatra taipanromania at gmail.com
Mon Oct 26 20:59:44 UTC 2009


  I manage to test kdevelop/projectmanager/cmake/cmakemanager.cpp it
seems it works very well (for my test), but I can't find where
defines() method is used in  kdevelop/languages/cpp  :(


2009/10/24, Andreas Pakulat <apaku at gmx.de>:
> On 24.10.09 16:13:11, BogDan Vatra wrote:
>> Hi,
>>
>>   I found a bug in KDevelop's CMake parse, it doesn't handle the
>> add_definitions command in CMake files. This is very annoying because
>> it doesn't parse correctly the files and it kills the code completion
>
> Actually both the CMake support and the C++ support do use the definitions
> from the cmake file (according to the code which I looked on a few weeks
> ago).
>
> Of course that doesn't mean that the code has no bugs, so we might not
> properly manage to know about defines all the time.
>
> If you want to look into it you need to look into
> kdevelop/projectmanager/cmake (thats where add_definitions is parsed and
> provided via the defines() member function) and kdevelop/languages/cpp
> (thats where defines() should be called).
>
> Andreas
>
>
> --
> Abandon the search for Truth; settle for a good fantasy.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>




More information about the KDevelop-devel mailing list