Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63616C83038 for ; Tue, 1 Jul 2025 16:49:47 +0000 (UTC) Subject: Re: [yocto] CMake + native devtool recipe seems lost #cmake #devtool To: "Khem Raj" , yocto@lists.yoctoproject.org From: joseph.maniaci@seagate.com X-Originating-Location: Minnesota, US (134.204.180.68) X-Originating-Platform: Windows Firefox 128 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 01 Jul 2025 09:49:38 -0700 References: In-Reply-To: Message-ID: <18523.1751388578968129807@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="3CPdq83fw5WKCrrIw6Hs" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 01 Jul 2025 16:49:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/65580 --3CPdq83fw5WKCrrIw6Hs Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It's a legacy file/mechansim in our codebase at the root of the repo. It al= so wasn't working with . ./sourceme.env and that's when I started looking a= t the directory structure and realized I was not in the directory I should = be in. Even without the weird 'source' file(there needs to be a different name for= a file you 'source' with 'source') I'm definitely not seeing my CMakeLists= .txt file. SOLVED: I did not realize that when doing cmake builds, oe_runmake needs to= be changed cmake_do_compile, and that's it appears there are others as wel= l for things like do_configure(though this is implicitly done), just in cas= e this helps anyone. --3CPdq83fw5WKCrrIw6Hs Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
It's a legacy file/mechansim in our codebase at the root of the repo. = It also wasn't working with . ./sourceme.env and that's when I started look= ing at the directory structure and realized I was not in the directory I sh= ould be in.
 
Even without the weird 'source' file(there needs to be a different nam= e for a file you 'source' with 'source') I'm definitely not seeing my CMake= Lists.txt file.

SOLVED: I did not realize that when doing cmake = builds, oe_runmake needs to be changed cmake_do_compile, and that's it appe= ars there are others as well for things like do_configure(though this is im= plicitly done), just in case this helps anyone.
--3CPdq83fw5WKCrrIw6Hs--