Why Nostr? What is Njump?
2023-06-07 02:20:00
in reply to

John Smith [ARCHIVE] on Nostr: 📅 Original date posted:2011-08-31 🗒️ Summary of this message: Luke-Jr asks ...

📅 Original date posted:2011-08-31
🗒️ Summary of this message: Luke-Jr asks how to set build options with qmake. You can put assignments on the command line, and these variables can be used for conditionally enabling/disabling libraries or other options in the .pro file.
📝 Original message:On Thu, Sep 1, 2011 at 2:13 AM, Luke-Jr <luke at dashjr.org> wrote:

> On Wednesday, August 31, 2011 10:20:48 AM John Smith wrote:
> > The project builds on Windows, MacOSX and Linux using qmake.
>
> How do you set build options with qmake?
>

You can put assignments on the commandline; for example,

qmake "CONFIG+=test" test.pro

Like in plain make, these variables can be used for conditionally
enabling/disabling libraries or other options in the .pro file.

http://doc.qt.nokia.com/latest/qmake-manual.html

(reminds me that I still need to add the USE_UPNP option)

Note that qmake is a pretty simple tool, optimized for conveniently building
Qt applications in a cross-platform way; it in no way compares to
cmake/autotools or another "full" build system. But it's enough for building
bitcoin-qt on the supported target architectures so that's good enough for
me... For "bitcoind" and "bitcoin-wx" you probably want to keep around the
makefile.

JS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20110901/b7a21c59/attachment.html>;
Author Public Key
npub1e4lupyw4vuuhfsmt726ud69555re66pph90kwx0afpt346e9k7zsd4jafl