Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Dick <mi-dick@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] Make C and CXX compiler cache in toolchainfile.cmake.in
Date: Sun, 25 Mar 2018 12:36:54 +0200	[thread overview]
Message-ID: <000001d3c425$31ba3fc0$952ebf40$@gmx.de> (raw)

Hello,

I am using buildroot to create my custom gcc toolchain and sysroot for a
raspberry pi. 

 

Therefore, I call cmake with a script to configure my project. After that, I
import the project into qtcreator.

The problem is, that C and CXX compiler variables are not cached into cmake
cache, so when importing the project, qtcreator calling cmake is not aware
oft he configured compiler.

 

My suggestion ist o use this patch. Is there any reason why the compilers
are not cached?

 

 

Best regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180325/9f6edfa3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolchainfile.patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180325/9f6edfa3/attachment.obj>

             reply	other threads:[~2018-03-25 10:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-25 10:36 Michael Dick [this message]
2018-03-25 10:42 ` [Buildroot] Make C and CXX compiler cache in toolchainfile.cmake.in daggs
2018-03-25 18:58   ` Thomas Petazzoni
2018-03-30 19:57 ` Arnout Vandecappelle
2018-03-30 21:05   ` Yann E. MORIN
2018-04-02  7:12   ` Luca Ceresoli
2018-04-08 19:53     ` Samuel Martin

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='000001d3c425$31ba3fc0$952ebf40$@gmx.de' \
    --to=mi-dick@gmx.de \
    --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