[zeromq-dev] How to build a stable (non DRAFT_API) version of malamute?
opedroso at gmail.com
Tue Apr 19 17:38:14 CEST 2016
I tried running configure.bat —disable-drafts which comment says “from git
repository, disables DRAFT API”
But platform.h still have “#define CZMQ_BUILD_DRAFT_API” and it outputs:
Building with libzmq
Building without systemd
Building with draft API (stable + legacy + draft API)
The batch script, instead of using the argument documented, instead checks
for the presence of the .git directory and if present, DRAFT_API is defined
no matter the arguments are.
:- Check if we want to build the draft API
IF NOT EXIST "..\..\.git" GOTO no_draft
ECHO Building with draft API (stable + legacy + draft API)
ECHO // Provide draft classes and methods>>platform.h
ECHO #define CZMQ_BUILD_DRAFT_API 1>>platform.h
ECHO Building without draft API (stable + legacy API)
ECHO #undef CZMQ_BUILD_DRAFT_API 1>>platform.h
I can send a PR to fix this, but I want to know if this is another of those
“don’t touch subjects” that I should not waste my time on.
Appreciate your input,
PS: this batch also has problems (like using the END label which is not
defined, for which I made a zproject PR to fix it over a week now, but
which seem to have been reverted).
On Tue, Apr 19, 2016 at 7:54 AM Kevin Sapper <kevinsapper88 at gmail.com>
> Hi Osiris,
> have a look builds/msvc/configure.bat. configure.bat --help should give
> you more infos. I haven't used it though. There also a section "Build on
> Windows" in the czmq README which should apply to malamute as well.
> 2016-04-19 14:32 GMT+02:00 Osiris Pedroso <opedroso at gmail.com>:
>> My environment is Windows.
>> I need to know how to build the MALAMUTE library/dll without DRAFT_API
>> being defined.
>> Same question applies to CZMQ, since MALAMUTE includes CZMQ as well.
>> Is it just a matter of hand editing platform.h and commenting #define
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev