diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-10 20:36:49 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-21 19:05:50 +0900 |
| commit | 73da215882d7f96b6010fa99361c7cc10ec18bfb (patch) | |
| tree | cea1a5016a94a9dac26cab8227e2513224288be3 /src/libktorrent/mse | |
| parent | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (diff) | |
| download | ktorrent-73da2158.tar.gz ktorrent-73da2158.zip | |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bf204e931c605c73d761ec84943bb0cc94d7e7e4)
Diffstat (limited to 'src/libktorrent/mse')
| -rw-r--r-- | src/libktorrent/mse/CMakeLists.txt | 16 | ||||
| -rw-r--r-- | src/libktorrent/mse/streamsocket.h | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/src/libktorrent/mse/CMakeLists.txt b/src/libktorrent/mse/CMakeLists.txt new file mode 100644 index 0000000..2d0d01c --- /dev/null +++ b/src/libktorrent/mse/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/.. + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### mse library (static) + +tde_add_library( mse STATIC_PIC AUTOMOC + SOURCES + bigint.cpp rc4encryptor.cpp streamsocket.cpp encryptedauthenticate.cpp + encryptedserverauthenticate.cpp functions.cpp + LINK + ${GMP_LIBRARIES} +) diff --git a/src/libktorrent/mse/streamsocket.h b/src/libktorrent/mse/streamsocket.h index c653e5d..0b3c234 100644 --- a/src/libktorrent/mse/streamsocket.h +++ b/src/libktorrent/mse/streamsocket.h @@ -23,6 +23,7 @@ #include <tqobject.h> #include <util/constants.h> #include <net/bufferedsocket.h> +#include <libktorrent_export.h> class TQString; @@ -52,7 +53,7 @@ namespace mse * not be used anymore, a SocketReader and SocketWriter should be provided, * so that reading and writing is controlled from the monitor thread. */ - class StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter + class LIBKTORRENT_EXPORT StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter { TQ_OBJECT |
