Ilya Kulakov
bfbb655491
Add support for the RelWithDebInfo CMake configuration.
...
It's now possible to build Release version with pdb file.
2016-01-14 18:20:00 +06:00
Ilya Kulakov
0475c6dfd8
CMAKE_VS_PLATFORM_TOOLSET may not be set.
...
E.g. for nmake.
2015-12-18 20:50:41 +06:00
Constantin Rack
c19470ece1
Merge pull request #1675 from somdoron/Timers
...
Problem: no way to schedule timers with zmq_poll or zmq_poller
2015-12-18 11:34:39 +01:00
somdoron
aadaf99011
add timers API to libzmq
2015-12-18 12:23:22 +02:00
Ilya Kulakov
923645060a
Fix redirecting location of pdb via CMAKE_PDB_OUTPUT_DIRECTORY.
2015-12-18 14:52:17 +06:00
Ilya Kulakov
68b13fbddb
Add the VMCI transport.
...
VMCI transport allows fast communication between the Host
and a virtual machine, between virtual machines on the same host,
and within a virtual machine (like IPC).
It requires VMware to be installed on the host and Guest Additions
to be installed on a guest.
2015-12-08 13:16:09 +06:00
Anonymous Maarten
89338f43d5
CMake: fix library name on linux
...
problem: cmake added a prefix of lib to libzmq, resulting in
liblibzmq.so
solution: set an empty prefix
2015-10-25 01:14:27 +02:00
Anonymous Maarten
2f63231860
cmake: libzmq can now be built with both sodium and TweetNaCL
2015-10-24 00:16:01 +02:00
Anonymous Maarten
b2c87b9a70
TweetNaCL: add windows randombytes implementation
2015-10-23 23:34:53 +02:00
Anonymous Maarten
55ca9c5654
CMake: use libsodium if available, else use tweet_nacl
2015-10-23 04:06:57 +02:00
somdoron
6501b8089f
port zpoller to libzmq as zmq_poller
2015-10-18 21:07:23 +03:00
Richard Newton
05d0451e29
Update cmake to support Visual Studio 2015
2015-09-19 14:39:18 +01:00
Richard Newton
3f4f3c1137
Fix windows cmake build
2015-09-14 13:21:20 +01:00
Pieter Hintjens
d416ffcec5
Problem: cannot build single test case in tests
...
This is due to the mangled include of platform.h, which was to make
CMake happy.
Solution: in CMakeLists.txt, define USING_CMAKE and then look for
platform.h in current directory if that is defined, else look in
../src/ as one would expect.
2015-09-11 16:42:26 -04:00
Matt Bolger
7e09306cb3
-Set signaler_port to 0 which allows the OS to find a free port, rather than crashing if 5905 is in use ( https://github.com/zeromq/libzmq/issues/1542 )
...
-Added config.hpp to the source list so it shows up in generated projects
-Remove CMAKE_BUILD_TYPE setting for generators that don't use it
2015-08-21 13:45:59 +10:00
reza.ebrahimi
a50834cbec
fixed issue with ticket #1517 (wrong lib output name in MSVC CMake build) and apply some improvements in CMake build system
2015-08-14 18:04:54 +04:30
Jens Auer
3679793601
"zero-copy" raw_decoder
...
A memcpy is eliminated when receiving data on a ZMQ_STREAM socket. Instead
of receiving into a static buffer and then copying the data into the
buffer malloced in msg_t::init_size, the raw_decoder allocates the memory
for together with the reference-counter and creates a msg_t object
on top of that memory. This saves the memcpy operation.
For small messages, data is still copied and the receive buffer is reused.
2015-07-05 16:05:46 +02:00
Anton Sergeev
5f9b258295
Make CMake option for perf-tools
...
This allow disable making perf-tools in Release build type
Signed-off-by: Anton Sergeev <Anton.Sergeev@elecard.ru>
2015-05-06 21:25:26 +06:00
Henrik S. Gaßmann
f0a76318f4
REPLACE MSVC VERSION SUFFIX VARIABLE
...
Replace _zmq_COMPILER with CMAKE_VS_PLATFORM_TOOLSET; so the suffix can
be automagically generated for every MSVC compiler supported by cmake.
2015-05-05 21:39:50 +02:00
xantares
0f24f675f5
set soversion without ZMQ_BUILD_FRAMEWORK
2015-03-11 09:15:40 +00:00
xantares
80044c9ed6
mutualize win32 flags
2015-03-11 09:10:23 +00:00
xantares
7dfa7b7a5d
do not mix DLL_EXPORT & ZMQ_STATIC definitions
2015-03-11 09:03:21 +00:00
xantares
1d2b34dbe4
install *.txt in share/zmq
2015-03-11 08:51:59 +00:00
xantares
866e752b04
do not install sources
2015-03-11 08:50:39 +00:00
Doron Somech
a4de3df73e
Revert "Bzimmerman cmake"
2015-02-12 21:29:09 +02:00
somdoron
bbdd8662ba
thread safety - supporting windows
2015-02-12 18:54:23 +02:00
Bryan Zimmerman
c743bd95b4
changed test tools to compile statically
2015-02-09 13:32:29 -05:00
Bryan Zimmerman
caf4276710
removed packaged export
...
added version to builds
other cleanup
2015-02-09 10:47:05 -05:00
Bryan Zimmerman
2bb72add49
update to use new find_program syntax
2015-02-06 11:03:14 -05:00
Bryan Zimmerman
552c13616e
replace check_library and check_include with find_file and find_library
2015-02-06 10:42:23 -05:00
Telford Berkey
05df7072d6
Merge remote-tracking branch 'remotes/upstream/master'
2015-02-02 10:27:25 -05:00
somdoron
ee962117ef
fix jenkins build
2015-02-02 16:42:50 +02:00
Telford Berkey
f78f4e3f73
Changed library name to zmq.lib.
2014-12-12 16:45:29 -05:00
Telford Berkey
5b1b3b56d3
Updated Cmake file to remove ascii doc.
2014-12-09 10:33:15 -05:00
Pieter Hintjens
1acc1b1582
Problem: FD_SETSIZE 1024 is too restrictive under Windows
...
Solution: increased to 4096 by default for all MSVC builds, for MinGW,
and for CMake.
Note: this is a speculative change, it needs confirmation before we
can keep it. Particularly, there is some doubt that changing this in
libzmq will affect upstream applications using libzmq.dll.
2014-08-23 13:59:53 +02:00
Diego
6537e202d6
moved root CMakeLists.txt tests config to tests/CMakeLists.txt
2014-08-05 13:24:32 +02:00
Guilherme Steinmann
9c42d28a20
Add static compilation on CMake
2014-07-02 16:51:34 -03:00
Richard Newton
369725ab8f
Fix windows build
2014-06-23 13:10:43 +01:00
Telford Berkey
920371ee6b
Corrected installer source path for VS pdb debug symbols file. Removed prefix path to platform.h
2014-06-04 08:47:22 -04:00
Richard Newton
1c4cea6c7f
Update cmake for split of plain_mechanism
2014-05-12 08:51:13 +01:00
Frank
05ab9a848f
find libsodium with cmake
2014-05-09 00:04:19 +02:00
Samuel Martin
d178c71e21
cmake: fix indentation
2014-05-03 21:55:03 +02:00
Samuel Martin
c83d4e01dd
cmake: tests: disable test_fork if fork() is not available
...
fork() support is optional and its availability is correctly detected at
contfigure time.
But test_fork was all always built, preventing build for targets that do
not provide fork() from building successfully.
This pacth fixes the CMakeLists.txt on this point.
2014-05-03 21:55:03 +02:00
Frank
551bcdae6c
add metadata
2014-05-01 21:35:53 +02:00
Frank
01afdf8476
no tweetnacl for windows currently
2014-05-01 21:35:36 +02:00
Frank
e5a294ec02
tweetnacl integration
2014-05-01 21:30:02 +02:00
xantares
ce4c4f2a05
Fixed mingw poll detection
2014-04-14 21:49:57 +02:00
Maarten Ditzel
91e77e6aa4
Fix issue #969
2014-04-13 15:25:22 +02:00
Sergei Nikulov
58a1430ca0
fixed msvc dll output path
2014-03-19 22:01:45 +04:00
Frank
9dc890c501
fix test_fork
...
* was problem on debian/wheezy
2014-03-17 21:21:06 +01:00