poco/DNSSD
Aleksandar Fabijanic eaabd3ff8d
Stack trace (#4691)
* chore(Trace): add dev env settings

* add(Trace): init add Poco::trace and libbacktrace files

* feat(Exception): generate stack trace if enabled at compile time

* chore(DNSSD): remove binaries from git

* fix(Trace): build

* chore(ci): exclude exception text tests for trace build; add debug test script params

* chore(build): mac (dl)

* chore(cmake): Changes to build Trace with CMake.

* chore(cmake): Changes to build Trace on Windows

* chore(cmake): Improvements to include trace sample.

* chore(cmake): Fixes to properly build/link Trace on Linux

* chore(cmake): add_definitions --> add_compile_definitions

* chore(cmake): Build Trace as static and don't export it.

* chore(make): Link Trace with built-in libbacktrace on Linux

* chore(Trace): remove unnecessary sources for libbacktrace.

* chore(github): enable trace on a few github checks

* chore(cmake): Build Trace with clang++ on Linux.

* chore(cmake): Properly set POCO_ENABLE_TRACE globally when needed.

* fix(cmake): Trace: corrected include for clang on Linux

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2024-10-10 10:36:13 +02:00
..
Avahi 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Bonjour Stack trace (#4691) 2024-10-10 10:36:13 +02:00
cmake 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Default 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
doc 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
include/Poco/DNSSD 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
samples Stack trace (#4691) 2024-10-10 10:36:13 +02:00
src 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
CMakeLists.txt Stack trace (#4691) 2024-10-10 10:36:13 +02:00
dependencies 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs90.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs90.vcproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.vcxproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.vcxproj.filters 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.vcxproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.vcxproj.filters 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_x64_vs90.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD.progen 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
LICENSE 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Makefile 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
README.md 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00

POCO DNS-SD (Zeroconf) Wrapper Library for Bonjour and Avahi

This is a POCO-based wrapper library providing an easy-to-use and unified programming interface to Apple Bonjour and Avahi libraries implementing DNS Service Discovery (DNS-SD, also known as Zeroconf).

Prerequisites

The Apple Bonjour SDK is needed on Windows (and OS X, of course). The Avahi client libraries are needed on Linux.

Getting Started

Clone into the root of an existing POCO source tree.

$ git clone https://github.com/pocoproject/poco-dnssd.git DNSSD

On Linux, build with cmake like below.

$ git apply DNSSD/CMakeLists.diff
$ sudo ./build_cmake.sh

On Windows or OS X, build with cmake like below.

$ git apply DNSSD/CMakeLists.diff
$ mkdir build
$ cd build
$ cmake ..
$ make -j8

For build without using cmake on Windows, build the included Visual C++ solution. On Linux/OS X, build with POCO_BASE environment variable set to the root of the POCO source tree.

$ export POCO_BASE=`pwd`
$ cd DNSSD
$ make -s -j8
$ make -s -j8 -C Default

See the doc directory for documentation and the samples directory for sample applications.

License

Boost Software License 1.0