Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v6 2/4] pkg-cmake: add note on BUILD_STATIC_LIBS
Date: Sun, 7 Jan 2018 23:45:04 +0100	[thread overview]
Message-ID: <20180107234504.1a36171a@windsurf> (raw)
In-Reply-To: <1515068911-21112-3-git-send-email-heyleke@gmail.com>

Hello,

On Thu,  4 Jan 2018 13:28:29 +0100, Jan Heylen wrote:

> +#
> +# Note:
> +# BUILD_SHARED_LIBS is a cmake internal variable,
> +# BUILD_STATIC_LIBS is not standard in any way, which means some
> +# projects may choose another name for a similar option and there is not
> +# much we can do about this.
> +# see: https://cmake.org/cmake/help/v3.8/manual/cmake-variables.7.html#variables-that-change-behavior
> +#

I've applied, after rewording this a bit differently:

+#
+# - We are passing BUILD_SHARED_LIBS because it is documented as a
+#   standard CMake variable to control the build of shared libraries
+#   (see https://cmake.org/cmake/help/v3.8/manual/cmake-variables.7.html#variables-that-change-behavior)
+# - We are not passing BUILD_STATIC_LIBS because it is *not*
+#   documented as a standard CMake variable. If a package supports it,
+#   it must handle it explicitly.
+#

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2018-01-07 22:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04 12:28 [Buildroot] [PATCH v6 0/4] Opentracing-cpp: new package Jan Heylen
2018-01-04 12:28 ` [Buildroot] [PATCH v6 1/4] rabbitmq-c: BUILD_SHARED_LIBS is handled in pkg-cmake.mk Jan Heylen
2018-01-07 22:44   ` Thomas Petazzoni
2018-01-04 12:28 ` [Buildroot] [PATCH v6 2/4] pkg-cmake: add note on BUILD_STATIC_LIBS Jan Heylen
2018-01-07 22:45   ` Thomas Petazzoni [this message]
2018-01-04 12:28 ` [Buildroot] [PATCH v6 3/4] m68k_cf5208: suffers from gcc 64735 Jan Heylen
2018-01-07 22:45   ` Thomas Petazzoni
2018-01-08 21:53   ` Peter Korsgaard
2018-01-04 12:28 ` [Buildroot] [PATCH v6 4/4] opentracing-cpp: new package Jan Heylen
2018-01-07 22:45   ` Thomas Petazzoni

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=20180107234504.1a36171a@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox