| 1 |  # | 
|---|
| 2 |  #             ORXONOX - the hottest 3D action shooter ever to exist | 
|---|
| 3 |  #                             > www.orxonox.net < | 
|---|
| 4 |  # | 
|---|
| 5 |  #        This program is free software; you can redistribute it and/or | 
|---|
| 6 |  #         modify it under the terms of the GNU General Public License | 
|---|
| 7 |  #        as published by the Free Software Foundation; either version 2 | 
|---|
| 8 |  #            of the License, or (at your option) any later version. | 
|---|
| 9 |  # | 
|---|
| 10 |  #       This program is distributed in the hope that it will be useful, | 
|---|
| 11 |  #        but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 12 |  #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 13 |  #                 GNU General Public License for more details. | 
|---|
| 14 |  # | 
|---|
| 15 |  #   You should have received a copy of the GNU General Public License along | 
|---|
| 16 |  #      with this program; if not, write to the Free Software Foundation, | 
|---|
| 17 |  #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | 
|---|
| 18 |  # | 
|---|
| 19 |  | 
|---|
| 20 | SET_SOURCE_FILES(NETWORK_SRC_FILES | 
|---|
| 21 |   ChatListener.cc | 
|---|
| 22 |   Client.cc | 
|---|
| 23 |   ClientConnection.cc | 
|---|
| 24 |   ClientInformation.cc | 
|---|
| 25 |   ClientConnectionListener.cc | 
|---|
| 26 |   Connection.cc | 
|---|
| 27 |   FunctionCallManager.cc | 
|---|
| 28 |   GamestateManager.cc | 
|---|
| 29 |   GamestateClient.cc | 
|---|
| 30 |   GamestateHandler.cc | 
|---|
| 31 |   NetworkFunction.cc | 
|---|
| 32 |   Host.cc | 
|---|
| 33 |   Server.cc | 
|---|
| 34 |   ServerConnection.cc | 
|---|
| 35 |   TrafficControl.cc | 
|---|
| 36 | ) | 
|---|
| 37 |  | 
|---|
| 38 | SET_SOURCE_FILES(NETWORK_HDR_FILES | 
|---|
| 39 |   ChatListener.h | 
|---|
| 40 |   Client.h | 
|---|
| 41 |   ClientConnection.h | 
|---|
| 42 |   ClientConnectionListener.h | 
|---|
| 43 |   ClientInformation.h | 
|---|
| 44 |   Connection.h | 
|---|
| 45 |   FunctionCallManager.h | 
|---|
| 46 |   GamestateClient.h | 
|---|
| 47 |   GamestateHandler.h | 
|---|
| 48 |   GamestateManager.h | 
|---|
| 49 |   Host.h | 
|---|
| 50 |   NetworkFunction.h | 
|---|
| 51 |   NetworkPrecompiledHeaders.h | 
|---|
| 52 |   NetworkPrereqs.h | 
|---|
| 53 |   Server.h | 
|---|
| 54 |   ServerConnection.h | 
|---|
| 55 |   TrafficControl.h | 
|---|
| 56 | ) | 
|---|
| 57 |  | 
|---|
| 58 | ADD_SUBDIRECTORY(packet) | 
|---|
| 59 | ADD_SUBDIRECTORY(synchronisable) | 
|---|
| 60 |  | 
|---|
| 61 | ORXONOX_ADD_LIBRARY(network | 
|---|
| 62 |   DEFINE_SYMBOL | 
|---|
| 63 |     "NETWORK_SHARED_BUILD" | 
|---|
| 64 |   PCH_FILE | 
|---|
| 65 |     NetworkPrecompiledHeaders.h | 
|---|
| 66 |   LINK_LIBRARIES | 
|---|
| 67 |     ${ZLIB_LIBRARY} | 
|---|
| 68 |     ${ENET_LIBRARY} | 
|---|
| 69 |     ${Boost_THREAD_LIBRARY} | 
|---|
| 70 |     util | 
|---|
| 71 |     core | 
|---|
| 72 |   SOURCE_FILES | 
|---|
| 73 |     ${NETWORK_SRC_FILES} ${NETWORK_HDR_FILES} | 
|---|
| 74 | ) | 
|---|