include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/.. ) ##### torrent library (static) tde_add_library( torrent STATIC_PIC AUTOMOC SOURCES advancedchokealgorithm.cpp announcelist.cpp authenticate.cpp authenticatebase.cpp authenticationmonitor.cpp bdecoder.cpp bencoder.cpp bnode.cpp cache.cpp cachefile.cpp cap.cpp choker.cpp chunk.cpp chunkcounter.cpp chunkdownload.cpp chunkmanager.cpp chunkselector.cpp dndfile.cpp downloadcap.cpp downloader.cpp globals.cpp httptracker.cpp ipblocklist.cpp movedatafilesjob.cpp multifilecache.cpp newchokealgorithm.cpp packet.cpp packetreader.cpp packetwriter.cpp peer.cpp peerdownloader.cpp peerid.cpp peermanager.cpp peersourcemanager.cpp peeruploader.cpp piece.cpp preallocationthread.cpp queuemanager.cpp request.cpp server.cpp serverauthenticate.cpp singlefilecache.cpp speedestimater.cpp statsfile.cpp timeestimator.cpp torrent.cpp torrentcontrol.cpp torrentcreator.cpp torrentfile.cpp tracker.cpp udptracker.cpp udptrackersocket.cpp uploadcap.cpp uploader.cpp upspeedestimater.cpp utpex.cpp value.cpp LINK net-static datachecker-static mse-static migrate-static util-static kademlia-static interfaces-static DEPENDENCIES torrent-static )