From: <Mikko.Rapeli@bmw.de>
To: <Matt.Schuckmann@planar.com>
Cc: yocto@yoctoproject.org
Subject: Re: CMake based recipes and defining CMAKE_BUILD_TYPE
Date: Thu, 7 Feb 2019 08:03:09 +0000 [thread overview]
Message-ID: <20190207080308.GH7474@hiutale> (raw)
In-Reply-To: <1549498134289.97332@planar.com>
Hi,
From my experience, what CMAKE_BUILD_TYPE means varies between SW components.
Thus I think the current approach of not setting it is correct. SW components
must set their own defaults in either CMakeLists.txt or in the bitbake recipe.
Also, building with debug info is separate from CMAKE_BUILD_TYPE. The default
compile flags from yocto will include -g for debug symbols and this is provided
to CMake compile flags too.
Cheers,
-Mikko
prev parent reply other threads:[~2019-02-07 8:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 18:23 CMake based recipes and defining CMAKE_BUILD_TYPE Matt Schuckmann
2019-02-06 21:31 ` Andreas Müller
2019-02-06 22:04 ` Matt Schuckmann
2019-02-06 22:24 ` Andreas Müller
2019-02-06 22:53 ` Andreas Müller
2019-02-06 23:11 ` Andreas Müller
2019-02-07 0:08 ` Matt Schuckmann
2019-02-07 8:03 ` Mikko.Rapeli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190207080308.GH7474@hiutale \
--to=mikko.rapeli@bmw.de \
--cc=Matt.Schuckmann@planar.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.