[zeromq-dev] Build packages in one step

Steven McCoy steven.mccoy at miru.hk
Sat Jul 13 23:25:35 CEST 2013


Catching up on the Joel Test, the installer for Windows can now be built in
one command.  Found out I needed a hot-fix to MSVC2008 to get the 64-bit
builds working in such a script, manual command line executions have always
run fine.

C:\git\zeromq3-x>build-windows-installers.cmd
Cleaning build area ...
Starting build ...
Building targets for x86 ...
targetting-v90
07/13/2013  04:57 PM         1,403,904 libzmq-v90-mt-gd-3_2_4.dll
07/13/2013  04:58 PM           429,056 libzmq-v90-mt-3_2_4.dll
targetting-v100
07/13/2013  04:58 PM         1,398,784 libzmq-v100-mt-gd-3_2_4.dll
07/13/2013  04:59 PM           432,640 libzmq-v100-mt-3_2_4.dll
targetting-v110
07/13/2013  04:59 PM         1,463,808 libzmq-v110-mt-gd-3_2_4.dll
07/13/2013  05:00 PM           434,176 libzmq-v110-mt-3_2_4.dll
targetting-v120
07/13/2013  05:01 PM         1,460,736 libzmq-v120-mt-gd-3_2_4.dll
07/13/2013  05:01 PM           432,640 libzmq-v120-mt-3_2_4.dll
targetting-v110_xp
07/13/2013  05:04 PM         4,764,646 ZeroMQ-3.2.4-x86.exe
07/13/2013  05:02 PM         1,466,368 libzmq-v110_xp-mt-gd-3_2_4.dll
07/13/2013  05:03 PM           435,712 libzmq-v110_xp-mt-3_2_4.dll
Building targets for x64 ...
targetting-v90
07/13/2013  05:05 PM         1,763,328 libzmq-v90-mt-gd-3_2_4.dll
07/13/2013  05:06 PM           527,360 libzmq-v90-mt-3_2_4.dll
targetting-v100
07/13/2013  05:06 PM         1,732,096 libzmq-v100-mt-gd-3_2_4.dll
07/13/2013  05:07 PM           506,368 libzmq-v100-mt-3_2_4.dll
targetting-v110
07/13/2013  05:07 PM         1,828,864 libzmq-v110-mt-gd-3_2_4.dll
07/13/2013  05:08 PM           500,736 libzmq-v110-mt-3_2_4.dll
targetting-v120
07/13/2013  05:11 PM         4,350,641 ZeroMQ-3.2.4-x64.exe
07/13/2013  05:09 PM         1,825,280 libzmq-v120-mt-gd-3_2_4.dll
07/13/2013  05:10 PM           500,224 libzmq-v120-mt-3_2_4.dll
Build finished.

This pushes more requirements to the CMake side to parse toolkit
configuration, not compiler configuration.

v90 on v90 builds no longer build out-of-the-box as MSVC2008 has no toolkit
support.

If you run v100 on v100, v110 on v110, and not v120 you will have to
specify compiler and toolkit unless someone makes
cmake/modules/TestZMQVersion.cmake even more complicated.

Static libraries are still only in the development trunk so have not
investigated build support.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130713/fd566d86/attachment.htm>


More information about the zeromq-dev mailing list