[zeromq-dev] libzmq\builds\msvc\msvc.sln is missing

Jeff Shanab jshanab at jfs-tech.com
Fri Feb 5 16:22:27 CET 2016


Cmake does not build!. And it certainly is a different paradigm but I have
grown to love it.

Like bakefiles it generates the projects from a single set of descriptive
CMakeList.txt files

The philosophy is:
   Out of source build.
     You change into a fresh directory and generate into it. This is NEVER
CHECKED IN and build products do not pollute your repo directory
     I go one step furthor and keep my cmake projects in a tree along side,
at a peer level the actual repo so even my CMakeList files don't pollute my
repo. And I can have multiple projects using the same source tree.
   Once these projects are generated, regeneration takes a very short time,
I consider this negligible when compared with changeing every dependency in
a large project or creating a new similar project. Ever manually edit a VS
sln file?  You only need to regen  when files are added,remove, or moved.
or you decide to change some compile and linker options.
    In reality you can check in the makefiles and solutions but they have
all absolute paths! So unless you have a team wide convention, it goes
against the grain.

I like it becuase  I have a build root env variable on all my machines. I
check out my cmake project on any machine and run the python prep script I
created that generates into ${BUILD_ROOT}/{$Projectname}. I do this on
Apple, linux, windows 32/64 bit VS2010,VS2012, VS2013, Eclipse. And I will
be trying Ninja for the build server. If I want to change the version of
boost I change 1 line in the cmake, regenerate and open the sln, all
projects in the sln are updated. commit, pull down to apple, regen and open
xcode. done.





I like it because I generate

On Fri, Feb 5, 2016 at 6:59 AM, Pieter Hintjens <ph at imatix.com> wrote:

> I've just tried CMake and it appears to work up to a point. That is:
>
> - you need to install it
> - you need to create a directory to build in
> - you need to run it (that takes some time, it goes through a whole
> load of "is this linux? no? wow" checks...
> - you then get a ZeroMQ.sln that you can pass to MSVC
>
> Whereas the master already contains a libzmq.sln that you can pass to MSVC.
>
> So while CMake surely works, I don't see the benefit of using it, you
> have a lot of extra steps to get the same results.
>
> Also it does not work for CZMQ and other libraries, and does not
> AFAICs work with libsodium.
>
> So I'd not recommend it.
>
> -Pieter
>
> On Fri, Feb 5, 2016 at 12:52 PM, Sergei Nikulov
> <sergey.nikulov at gmail.com> wrote:
> > 2016-02-05 14:25 GMT+03:00 Pieter Hintjens <ph at imatix.com>:
> >> Here are the steps to build libzmq from master, using VS2015 in a
> >> cmd.exe window:
> >>
> >> git clone https://github.com/zeromq/libzmq
> >> cd libzmq\builds\msvc
> >> configure
> >> cd build
> >> buildall
> >>
> >> If you use an earlier MSVC, look at buildall.bat to see how to call
> >> build for older compilers.
> >
> > Hi Pieter,
> >
> > Is CMake not recommended and not supported?
> >
> >> -Pieter
> >>
> >>
> >> On Fri, Feb 5, 2016 at 9:37 AM, B. Scott Harper <orcein at gmail.com>
> wrote:
> >>> I had assumed that, since Visual Studio solutions were provided, CMake
> would
> >>> not be useful for configuring builds on Windows. I would be happy to
> learn
> >>> that my assumption was erroneous.
> >>>
> >>> On Fri, Feb 5, 2016 at 5:26 PM, Sergei Nikulov <
> sergey.nikulov at gmail.com>
> >>> wrote:
> >>>>
> >>>> 2016-02-05 11:08 GMT+03:00 Jihad Mahmoud <jihad.mahmoud85 at gmail.com>:
> >>>> > Hello All
> >>>> >
> >>>> > I am using ZMQ for the first time and while I was following the
> >>>> > instructions
> >>>> > for installing it on Windows libzmq\builds\msvc\msvc.sln wasn't
> found. I
> >>>> > assumed the libmzq in VS2010 is the alternative sln nevertheless
> when I
> >>>> > tried to load it in Visual C++ 2010, it couldn't be loaded as all
> .prop
> >>>> > files weren't found. I open the VS2010 directory and couldn't find
> any
> >>>> > of
> >>>> > the required .prop file instead I have found only the project
> property
> >>>> > file.
> >>>> >
> >>>> > In this case what should I do? I searched for few hours on the
> internet
> >>>> > and
> >>>> > couldn't find a solution.
> >>>>
> >>>> If you familiar with CMake https://cmake.org/, I advice you to use it
> >>>> for project generation.
> >>>>
> >>>> >
> >>>> > Thanks
> >>>> > Jihad
> >>>> >
> >>>> > --
> >>>> > Jihad Fahmi Mahmoud
> >>>> > 大阪大学情報科学研究科情報システム工学博士1年 竹村研究室配属
> >>>> > Ph.D. Candidate, Prof Takemura Laboratory,
> >>>> > Information Systems Engineering Department,
> >>>> > Graduate School of Information Sciences and Technology,
> >>>> > Osaka University
> >>>> >
> >>>> > _______________________________________________
> >>>> > zeromq-dev mailing list
> >>>> > zeromq-dev at lists.zeromq.org
> >>>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Best Regards,
> >>>> Sergei Nikulov
> >>>> _______________________________________________
> >>>> zeromq-dev mailing list
> >>>> zeromq-dev at lists.zeromq.org
> >>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> zeromq-dev mailing list
> >>> zeromq-dev at lists.zeromq.org
> >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >>>
> >> _______________________________________________
> >> zeromq-dev mailing list
> >> zeromq-dev at lists.zeromq.org
> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> >
> >
> > --
> > Best Regards,
> > Sergei Nikulov
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160205/9a7ac148/attachment.htm>


More information about the zeromq-dev mailing list