Joakim Soderberg
d2f5b199bc
windows Fix build.
2014-04-07 13:13:45 +01:00
Andy Green
02138126f2
refactor add ssl read write single implementation
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-06 06:26:35 +01:00
Andy Green
2eedea9884
http2 add initial alpn support
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 14:33:48 +08:00
Andy Green
c57037a555
refactor ssl related code into ssl.c
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 10:17:00 +08:00
Andy Green
34f3dd2082
refactor pollfd related functions into pollfd.c
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 07:43:42 +08:00
Andy Green
d474135424
refactor service related functions into service.c
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 07:43:40 +08:00
Andy Green
3d67f515db
refactor context related functions into context.c
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 07:29:50 +08:00
Andy Green
e40aa9b920
plat change to build selection by cmake
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-02 21:04:03 +08:00
Patrick Gansterer
73882e49fc
Remove websock-w32.h
2014-03-29 08:25:58 +01:00
Patrick Gansterer
fc5734c339
Remove dummy headers for Windows
2014-03-29 07:43:38 +01:00
Patrick Gansterer
8df031d336
Remove emulated_poll on Windows
2014-03-29 07:15:40 +01:00
Andy Green
055f2979ec
ipv6 integration fixes
...
Disable for build using -DLWS_IPV6= on the cmake line
2014-03-24 23:08:38 +08:00
James Devine
3f13ea2264
add ipv6 support
...
(changed to support runtime disable + integration by andy@warmcat.com )
2014-03-24 16:09:25 +08:00
Andrew Canaday
9769f4f293
libev port
...
merged by andy@warmcat.com via https://github.com/gaby64/libwebsockets-libev
To use, you need to both
- cmake ---> -DLWS_USE_LIBEV=1
- info->options must have LWS_SERVER_OPTION_LIBEV set when creating the context
this is so a single library can be built for distros to support apps that use
normal polling and apps that use libev polling.
2014-03-23 13:25:07 +08:00
Andy Green
d2ec7adbab
ssl client use OS CA root certs by default
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-03-15 10:39:29 +08:00
Patrick Gansterer
e04ec35a43
Fix installation into relative installation directory
...
This is required to make the other CPack generators like "ZIP" work.
2014-03-03 20:09:55 +08:00
John Clark
388dc7d201
Fix cyassl flags, update documentation
2014-03-02 11:59:00 +08:00
Patrick Gansterer
61a6ae4f77
Check if getenv() exists
...
Do not call getenv() on platform which do not support it
2014-02-28 09:42:12 +08:00
Patrick Gansterer
5b71aac2ed
Enable compilation on Windows CE
...
Add a few ifdefs to support this additional platform.
2014-02-28 09:01:06 +08:00
Patrick Gansterer
8a59033565
Fix type checks in CMake
...
Use CHECK_TYPE_SIZE to check existence of types.
2014-02-28 08:49:38 +08:00
Patrick Gansterer
92792b4eef
Avoid calls to gettimeofday()
...
Add a new function to get the current time in microseconds, since gettimeofday() does not exist on Windows.
Keep the current implementation for the test applications.
2014-02-27 21:04:18 +08:00
Andy Green
0f3e41373b
unconfuse quoting in CMakeLists.txtt
...
via Marjan Tomas https://github.com/warmcat/libwebsockets/issues/67
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-02-27 07:28:45 +08:00
Andy Green
7f54e76f6d
fix WITHOUT_CLIENT install in CMake
...
Via "DevYourWorld" on github
https://github.com/warmcat/libwebsockets/issues/64#issuecomment-35719084
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-02-21 18:48:05 +08:00
Joakim Soderberg
6596e4b2f5
Fix compilation on Windows.
...
C89 which Microsofts compiler only support does not allow variable
declarations anywhere but at the start of a scope.
Also, only try to copy the test-server files if they actually exists. For
instance the OpenSSL cert generation fails if you run cmake under the git
bash shell on Windows (won't work with the unix method either) so that
file will be missing... This would result in a compilation error when
tests where turned on.
2014-02-19 08:37:50 +08:00
Andy Green
e919af8d18
update version in libwebsockets.pc
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-02-15 14:45:14 +08:00
Joakim Soderberg
67445557c2
cmake and other fixes
2014-02-15 13:48:56 +08:00
pmcdona
0a0a7ebc37
Trac 53 minw update
...
http://libwebsockets.org/trac/libwebsockets/ticket/53
2013-12-18 10:17:25 +08:00
Andreas Pakulat
7e8674007d
Windows Fix installing the dll
...
Without a runtime install directory, cmake won't install the dll at
all. Only the import library was installed. So fix that.
2013-11-04 10:08:42 +08:00
Markus Elfring
299244f7fc
fix cmake quoting
...
A few parameters (like "${PROJECT_BINARY_DIR}/lws_config.h" and "${PROJECT_SOURCE_DIR}/lib") are passed to CMake commands in your build script without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.
Signed-off-by: Markus Elfring <markus.elfring@web.de>
2013-10-26 20:03:43 +08:00
Arokux X
e0b3d13fbf
CMAKE help if cwd not git dir
...
Hi all,
please consider applying the patch below. The git is called in some
different directory and that is why fails. I'm not sure why it was
called in different directory, maybe because I build libwebsockets
with CMake's ExternalProject.
Best,
Arokux
Signed-off-by: Arokux X <arokux@gmail.com>
2013-10-24 21:53:39 +08:00
Erland Isaksson
578a24df3d
cmake fix for osx 64 bit
...
AG tested on 64-bit Fedora no problems
Signed-off-by: Erland Isaksson <erland@isaksson.info>
2013-09-18 09:00:52 +08:00
thinkski
d34bae15d3
trac 27: use fullpath in OSX dynamic libs
...
Signed-off-by: thinkski <chiszp@gmail.com>
2013-04-16 19:48:05 +08:00
thinkski
dd93a0c416
pkg config avoid hardcoded prefix
...
Signed-off-by: thinkski <chiszp@gmail.com>
2013-04-12 10:31:46 +08:00
Tomas Cejka
efda177e80
cmake use existing spec file for RPM generation
...
Signed-off-by: Tomas Cejka <cejkat@cesnet.cz>
2013-04-11 08:38:22 +08:00
Andy Green
5b479ac2f1
cmake improve cross documentation
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-30 10:30:03 +08:00
Peter Pentchev
9a4fef7ed6
Hide private library symbols
...
Signed-off-by: Peter Pentchev <roam@ringlet.net>
2013-03-30 09:52:21 +08:00
Joakim Soderberg
9c037c05fb
BUGFIX: Properly add libcyassl to the lib list.
...
This would cause failure to build the test apps with CyaSSL.
2013-03-23 08:55:28 +08:00
Joakim Soderberg
c2012e40ed
Check for GCC/G++ explicitly instead of simply Unix.
...
Since we're setting gcc specific build flags.
2013-03-23 08:55:02 +08:00
Andy Green
da3f6ffdbf
cmake add gcc compile options
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-16 12:37:40 +08:00
Andy Green
27696f2596
cmake add missing echo test app
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-10 08:12:06 +08:00
Andy Green
c8c166221d
cmake packageconfig installs to lib dir
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-10 08:12:01 +08:00
Andy Green
2aab3f9513
cmake ignore non source things for make dist
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-10 08:11:48 +08:00
Andy Green
19c1a99b59
update version 1.3 soname 4
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-10 07:34:53 +08:00
Edwin van den Oetelaar
15a38a788f
cmake some cosmetic improvementss
...
Signed-off-by: Edwin van den Oetelaar <oetelaar.automatisering@gmail.com>
2013-03-10 07:34:53 +08:00
Andy Green
63b3b959fc
cmake fix install path
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-09 12:56:35 +08:00
Andy Green
a83349414f
cmake win32 change helper includes to HDR_PUBLIC so they install
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-09 09:16:41 +08:00
Arokux B
897fec3a89
cmake mingw no need for websock w32
...
2. Comment out this line
http://git.warmcat.com/cgi-bin/cgit/libwebsockets/tree/CMakeLists.txt#n279
the file websock-w32.c is already compiled indirectly from libwebsockets.c
Signed-off-by: Arokux B <arokux@gmail.com>
2013-02-28 09:25:02 +08:00
Andy Green
975423c949
cmake lib lib64 problem
...
As discussed here, there's a semi-standardized way to inform
cmake that the install target wants its libs in .../lib64
https://code.google.com/p/bullet/issues/detail?id=174
this patch adds the necessary fiddling
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-26 11:58:45 +08:00
Joakim Soderberg
c7ed2be638
Fix running test programs from within visual studio.
...
Copy test-server data to a path so that we can run the test-server from
within visual studio without having to copy stuff around.
2013-02-22 09:28:17 +08:00
Joakim Söderberg
51197c0d6f
Set the _DEBUG macro for CMake also.
2013-02-22 09:28:13 +08:00