[cmake-developers] Extracting target metadata, IDE integration

Aleix Pol aleixpol at kde.org
Mon Feb 2 11:36:19 EST 2015


On Mon, Jan 26, 2015 at 9:15 PM, Tobias Hunger <tobias.hunger at gmail.com> wrote:
> I gave this patch a try with the cmake project data.
>
> I had hoped that this file would contain all the information an IDE
> might need, but there seems quite a bit missing for that. E.g. there
> is no information on which files are used to build a target. What am I
> missing?
>
> Best Regards,
> Tobias
>
> On Mon, Jan 26, 2015 at 4:23 PM, Brad King <brad.king at kitware.com> wrote:
>> On 01/25/2015 08:26 AM, Tobias Hunger wrote:
>>> I just had a bit of time to play with cmake this weekend: Is this
>>> patch available somewhere by now?
>>
>> Aleix sent it in a message of this thread on 2015-01-09:
>>
>>  http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12061
>>
>> Some review comments elsewhere in this thread are still pending.
>>
>> -Brad
>>

It does provide them. For example [1].

Isn't that what you meant?

Aleix

[1]
{
     "name": "kdevcmakebuilder",
     "type": "MODULE_LIBRARY",
     "configs": [
       {
         "name": "debug",
         "sources": [
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuilder.cpp",
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/cmakejob.cpp",
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/prunejob.cpp",
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuilderpreferences.cpp",
           "/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder/ui_cmakebuildersettings.h",
           "/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuilderconfig.cpp",
           "/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuilderconfig.h",
           "/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder/kdevcmakebuilder_automoc.cpp",
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuildersettings.ui",
           "/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/cmakebuilderconfig.kcfgc"
         ]
       }
     ],
     "directory":
"/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder",
     "location":
"/home/kde-devel/build-frameworks/kdevelop/projectbuilders/cmakebuilder/kdevcmakebuilder.so",
     "backtrace":
["/home/kde-devel/frameworks/kdevelop/projectbuilders/cmakebuilder/CMakeLists.txt:20"],
     "installed": true
   }


More information about the cmake-developers mailing list