[Libwebsockets] CMake project for Libwebsockets and more
aqiruse at gmail.com
Wed Feb 6 18:26:16 CET 2013
I have ubuntu, Netbeans on Ubuntu and Windows, as well as VS 2008, 2010. If
I can get a copy of the sources, I can check it to make sure it compiles as
soon as I have a chance. I have a version of chrome26 sources I dl'd from
the site that compiles and seems to work with my VS2008 since that is what
I use mainly. Had to add afew tags like to the syslog stuff since my
compiler does not have that, and add the Windows version of non-blocking
sockets using #ifdef's. Just minor changes like that, but I have the
chrome26 compiling in VS 2008.I excluded the deamon.c from the project in
VS 2008. Now I just need to figure out if the error is in my html test page
or in something i did to the library. Working on that. I have basic cmake
files but have not finished them yet. Can test the compilation part if i
can get the cmake files.
On Wed, Feb 6, 2013 at 2:20 AM, "Andy Green (林安廸)" <andy at warmcat.com> wrote:
> On 06/02/13 02:08, the mail apparently from Joakim Söderberg included:
>> My repos, the branch is "newcmake":
>> First of all, the Windows build was in the current upstream repos was
>> broken in several ways, I've fixed some (crash) bugs relating to that.
>> See the my commit log for specifics.
> I see... you've been busy! Nice to see the patches on top of almost HEAD
> Anyway. I've made a CMake project file for Libwebsockets which would be
>> nice if it could be added upstream. It contains most of the features
>> that the autoconf project does, plus some more. Most importantly, it
>> vastly improves the Windows experience, without the need of manually
>> editing a bunch of Visual Studio projects for different targets.
> Yes that was always an asspain, especially since I don't have a use for
> Windows builds myself it was always prone to rot. Previously we had two
> contributors working on it with different VS versions and committing
> different and incompatible project files... that's not really workable.
> Having a Cmake text file is much better.
> I've also added support for using the CyaSSL library which has a OpenSSL
>> compatibility layer. This is currently only supported in the CMake
>> project (because of my lack of autoconf skills). Note that there is a
>> crash bug in their current official version when SSL_free() is called
>> when after using BIO_new_socket(). I've done a pull request for a fix,
>> Tested on:
>> - Windows XP
>> - Linux
>> - NetBSD
>> - OSX
> Great job, thanks for the patches: all applied.
> More about CMake:
> At some point I will try your Cmake file in Linux and try to understand if
> we can switch over. I didn't have time to learn Cmake for no real
> advatange (since I personally don't use Windows), but since you have
> contributed it that's much easier to consider now.
>> How come this project is not on github anyway? At least mirrored there?
> OK. I created this
> and added it to my push script so it will mirror git.libwebsockets.orgthere every push.
> Thanks again for your work and contribution!
> Libwebsockets mailing list
> Libwebsockets at ml.**libwebsockets.org <Libwebsockets at ml.libwebsockets.org>
--A programmer started to cuss
--Because getting to sleep was a fuss
--As he lay there in bed
--Looping 'round in his head
--was: while( !asleep() ) sheep++;
--Nothing is impossible! It is merely a matter of figuring out How?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets