Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse CDT CMake - accessing function defintions
  • From: <Anton.Krug@xxxxxxxxxxxxx>
  • Date: Wed, 10 Mar 2021 12:13:30 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c7Uhgym72+EDaOO4c/ny282URB58kviPFT0Pb0aO0XI=; b=KoiSMC5Z7qkNauVpjaX76o9MBfhp1nFSqrJbQzINhM7bKRiS1CmWbDlLChNW8IrYuWYnPZqAhIPRy/mrE2hUmK12W8INx9inWwtrdGyJQ0bI6UcQ6lSvDaDJoiLpdyKDmjtG4Ta0q8QOACRYW1zQ1zJxUjXWbNHv5z7+qxoEh3KERKvQKElyDoxFDAaVuxn1AdHMcOizOTY198a1ygAaLdylNIJ+7NESnplnlve0xRFxVNc2J9UJId8HPCNGaO3aDQjRl28e5McT1DCWwQvfPEcNjF+V3bhHC75qRfAgAF+si3v+q3yhGbfrL2l/DFdkbwowfbPxaEVxE/JSrxd8Xg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D5xDow3p5DEsDDVlhYQr0e1MPlYm8/9XqXclf4GEoc3gUN+nOuRRD1WYbZzyiO0OfT/eiCb34K5uqef3dgtMW7Kxlxz3il046znUEwIxa3nRhOu3BpKBa4a1Z6tRPaCszBuYZooyBF22u5PdQcvydQVnULiON2ezhfrbStI0h2M+UyHf+gsIE6tpaazS5rT2vOSYQLTZLP/swyimaYVtnlUQC8Bazz67Oweb9z2q//32lPGirvKIaFrS89VrPnif0w5TkqAHmH7DNI/z5s1hGzkZTGdQ4VQa6f2Yb6iOAj/1Ed66RsUZWXpHJxe8lOTbZpQ9IIXd+O7h+JiZgW5yVg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • Ironport-sdr: A6jbF3TemjqhB1PhpeMC4Mw7hR/OKPT59k4+CoICGElJQ3rT7iz5h8/qvd3YhCbrO3b052vv5i PgqMvFXYie4yqXh4EOE3wIEuimlXRcGIBuTR/yeMOeqpCY2vuE4wUdMRx5IDYJPiEOf9TVdw2p l1xPfGzP5zaw2wKsbtxRHOwF3Y2Sb/OdhOMQVJHJ3sSmgt8Hfry1w6lVatHc+8uVIiFMPC6h0m it1TY34xBW2jSrAUTECBhMVprMZZ45kX7nDYJmUcSUq+zN49+njgewirjE3Sgsw6Ox33vVHSa9 c7w=
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXFV0Rdkhtuwo/WEC0csWL2BPnHqp9H68w
  • Thread-topic: [cdt-dev] Eclipse CDT CMake - accessing function defintions

Hi Kondal,

 

When you press F3 and it will point you to function declaration, then you then press F3 on the declaration again, it doesn’t open the definition?

 

I’m using the managed build so the CDT has all the information about the project, there are unmanaged projects as well, which are makefile based, that’s what you are using? And just generate the makfile from cmake?

 

Anton

 

From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Kondal Kolipaka
Sent: Wednesday, March 10, 2021 3:25 AM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: [cdt-dev] Eclipse CDT CMake - accessing function defintions

 

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Hi All,

Could you someone help me in understanding how does Eclipse CDT works in accessing the function definitions.

I am using CMake editor with our own toolchains, I am able to build without any error and I could see compiler_commands.json is getting generated with all the required arguments(-I, -D, -iquote)

However, when I click on the function from the editor, I was not able to navigate to the function definition. Only function declarations are accessible using F3 or click

Do we need to do anything specific to achieve this?  Any pointers to troubleshoot this problem.

 

Please find the generated parser log file.

 

Thanks.

 


Back to the top