From 7fefe15989a08e255ade5e577c781701b157d430 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 20 Oct 2020 14:40:51 +0200 Subject: Conversion to the cmake building system. Signed-off-by: gregory guy (cherry picked from commit 81b64bcfc0a32fdeb0e4f367adbf273d924e55f4) --- src/upnp/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/upnp/CMakeLists.txt (limited to 'src/upnp/CMakeLists.txt') diff --git a/src/upnp/CMakeLists.txt b/src/upnp/CMakeLists.txt new file mode 100644 index 0000000..538f013 --- /dev/null +++ b/src/upnp/CMakeLists.txt @@ -0,0 +1,28 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### ktupnp (static) + +tde_add_library( ktupnp STATIC_PIC AUTOMOC + + SOURCES + soap.cpp + upnpdescriptionparser.cpp + upnpmcastsocket.cpp + upnprouter.cpp + portlist.cpp + httprequest.cpp + exitoperation.cpp + forwardportlist.cpp +) -- cgit v1.2.1