[zeromq-dev] VS 2010 version of the build

Martin Lucina mato at kotelna.sk
Fri Oct 29 13:22:54 CEST 2010


sustrik at 250bpm.com said:
> On 10/29/2010 12:25 PM, Martin Lucina wrote:
> 
> > In the long run I would *much prefer* having some way to generate the VS
> > projects from a single source, anything else is a major pain.
> 
> Maintaining the MSVC project is a pain anyway.
> 
> What about the premake approach suggested recently?

I don't know enough about it to tell if it'll work and if the added value
makes it worthwhile.

Main questions:

1) Where does premake generate the Visual Studio projects from? I.e. what
is the source of this information? At the moment we have this information
in the automake Makefile.am files; can premake somehow get it from
those/the other way round? 

2) Premake depends on Lua; presumably it can be set up in such a way that
distribution tarballs of 0MQ can contain the generated files and will *not*
depend on Lua, thus making Lua a dependency only for people wishing to
build directly from a Git clone.

The rationale behind 1) is the usual -- a single place to modify things.

The rationale behind 2) is the requirement that *release tarballs* should
build with a minimum of dependencies.

If those of you on this list familiar with Premake can let me know if the
above is possible then I'll look into it at least experimentally, but
probably not before mid-November.

-mato



More information about the zeromq-dev mailing list