mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-31 00:26:48 +00:00
Tengiz Sharafiev
530b272350
Modernize and cleanup CMakeLists.txt
[Effective Modern CMake](https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1) - Set the minimum required version for CMake to 3.5 - Added `UPNPC_BUILD_SAMPLE` option for building sample client application (upnpc.c) - Added interface target library `miniupnpc-private` for common settings like compile definitions, flags and include directories. It helps to keep global scope clean. https://cmake.org/cmake/help/v3.11/manual/cmake-buildsystem.7.html#interface-libraries - Replaced `-fPIC` compile option with `POSITION_INDEPENDENT_CODE` target property https://cmake.org/cmake/help/v3.11/prop_tgt/POSITION_INDEPENDENT_CODE.html#prop_tgt:POSITION_INDEPENDENT_CODE - Set usage requirements for `libminiupnpc-*` targets for more convenient usage through `add_subdirectory()` (as cmake subproject) https://cmake.org/cmake/help/v3.11/manual/cmake-buildsystem.7.html#build-specification-and-usage-requirements - Removed old and outdated code from CMakeLists.txt
-= MiniUPnP project =- Main author : Thomas BERNARD Web site : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/ Github : https://github.com/miniupnp/miniupnp/ Travis CI : https://travis-ci.org/miniupnp/miniupnp Appveyor : https://ci.appveyor.com/project/miniupnp/miniupnp miniupnpc/ : MiniUPnP client - an UPnP IGD control point miniupnpd/ : MiniUPnP daemon - an implementation of a UPnP IGD + NAT-PMP / PCP gateway minissdpd/ : SSDP managing daemon. Designed to work with miniupnpc, miniupnpd, ReadyMedia (formerly MiniDLNA), etc. miniupnpc-async/ : Proof of concept for a UPnP IGD control point using asynchronous (non blocking) sockets. miniupnpc-libevent/ : UPnP IGD control point using libevent2 http://libevent.org/ Thanks to : * Ryan Wagoner * João Paulo Barraca * Craig Kadziolka * Seth Mos * Rick Richard * Michael van Tellingen * Julien Wajsberg * Jeremy Collake * Matthew Sporleder * Greg Hazel * Rico Huber * Jelle Huitema * Xavier Martin * Thomas Goirand * Darren Reed * Robbie Hanson * Nikos Mavrogiannopoulos * Elsö András * Justin Maggard * David Wu * Michael Trebilcock * Soren Dreijer * Colin McFarlane * Daniel Dickinson * Guillaume Habault * Alexey Osipov * Alexey Kuznetsov * Chiaki Ishikawa * David Kerr * Jardel Weyrich * Leah X. Schmidt * Peter Tatrai * Leo Moll * Daniel Becker * Yonetani Tomokazu * Markus Stenberg * Tomofumi Hayashi * Konstantin Tokarev * Mike Tzou * Nevo Hed * Salva Peiró * Stephan Zeisberg
Description
Languages
C
93.9%
Makefile
1.9%
Shell
1.5%
CMake
0.9%
Python
0.7%
Other
1.1%