akallabeth
9c6126c470
[winpr,comm] build generic serial-port support
...
* Disable linux specific code if build on *BSD
* Build stub to just return NULL for unsupported platforms
2024-09-04 12:50:49 +02:00
akallabeth
f60e386f3e
[winpr,comm] do not compile with EMSCRIPTEN
2024-08-30 09:12:51 +02:00
akallabeth
d08e44d883
[channels,serial] only build on linux
...
* Guard by CMake
* Remove code #ifdef to ease porting
2024-08-26 13:18:52 +02:00
Bernhard Miklautz
81d30cc480
Disable comm tests per default
...
comm tests require a serial device for testing. If the test environment
isn't available the tests will return errors therefore the tests are
now disabled per default. They can be (re-)enabled by using the cmake
option BUILD_COMM_TESTS.
2016-05-02 16:59:25 +02:00
Bernhard Miklautz
352dbd52e2
winpr/comm: don't build on apple
...
Since code is only defined on linux building comm causes /usr/bin/ranlib
to warn about empty objects and the test doesn't build at all on apple.
2014-07-29 05:22:29 +02:00
Marc-André Moreau
4f4603133e
winpr: fix build on Windows with unit tests
2014-07-17 12:02:47 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Emmanuel Ledoux
4c743de69c
winpr-comm: got IOCTL_SERIAL_SET_TIMEOUTS / IOCTL_SERIAL_GET_TIMEOUTS
...
serial redirection: use of winpr-comm's functions and not serial_tty.* anymore
2014-05-12 17:33:56 +02:00
Emmanuel Ledoux
6fcc1b4478
winpr-comm: first import of comm_ioctl.h and the REMOTE_SERIAL_DRIVER type.
2014-04-25 00:20:48 +02:00
Emmanuel Ledoux
f9fc107c20
new functions: DefineCommDevice / QueryCommDevice / IsCommDevice
2014-04-18 17:18:08 +02:00
Marc-André Moreau
82ed4f0f38
libwinpr-comm: initial stubs
2014-04-02 15:51:28 -04:00