|
|
@@ -0,0 +1,32 @@
|
|
|
+if(HAVE_NET AND WANT_NATIVE_NET)
|
|
|
+ set(P3NET_HEADERS
|
|
|
+ config_net.h connection.h connectionListener.h
|
|
|
+ connectionManager.N connectionManager.h
|
|
|
+ connectionReader.I connectionReader.h
|
|
|
+ connectionWriter.h datagramQueue.h
|
|
|
+ datagramTCPHeader.I datagramTCPHeader.h
|
|
|
+ datagramUDPHeader.I datagramUDPHeader.h
|
|
|
+ netAddress.h netDatagram.I netDatagram.h
|
|
|
+ datagramGeneratorNet.I datagramGeneratorNet.h
|
|
|
+ datagramSinkNet.I datagramSinkNet.h
|
|
|
+ queuedConnectionListener.I
|
|
|
+ queuedConnectionListener.h queuedConnectionManager.h
|
|
|
+ queuedConnectionReader.h recentConnectionReader.h
|
|
|
+ queuedReturn.h queuedReturn.I)
|
|
|
+
|
|
|
+ set(P3NET_SOURCES
|
|
|
+ config_net.cxx connection.cxx connectionListener.cxx
|
|
|
+ connectionManager.cxx connectionReader.cxx
|
|
|
+ connectionWriter.cxx datagramQueue.cxx datagramTCPHeader.cxx
|
|
|
+ datagramUDPHeader.cxx netAddress.cxx netDatagram.cxx
|
|
|
+ datagramGeneratorNet.cxx
|
|
|
+ datagramSinkNet.cxx
|
|
|
+ queuedConnectionListener.cxx
|
|
|
+ queuedConnectionManager.cxx queuedConnectionReader.cxx
|
|
|
+ recentConnectionReader.cxx)
|
|
|
+
|
|
|
+ composite_sources(p3net P3NET_SOURCES)
|
|
|
+ add_library(p3net ${P3NET_HEADERS} ${P3NET_SOURCES})
|
|
|
+ target_link_libraries(p3net p3express p3downloader p3pandabase p3nativenet p3pipeline)
|
|
|
+ target_interrogate(p3net ALL)
|
|
|
+endif()
|