[2710] | 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 |
---|
[2087] | 21 | ChatListener.cc |
---|
[1505] | 22 | Client.cc |
---|
| 23 | ClientConnection.cc |
---|
| 24 | ClientInformation.cc |
---|
[2087] | 25 | ClientConnectionListener.cc |
---|
[1505] | 26 | ConnectionManager.cc |
---|
[2937] | 27 | FunctionCallManager.cc |
---|
[1735] | 28 | GamestateManager.cc |
---|
| 29 | GamestateClient.cc |
---|
| 30 | GamestateHandler.cc |
---|
[2937] | 31 | NetworkFunction.cc |
---|
| 32 | Host.cc |
---|
[1505] | 33 | PacketBuffer.cc |
---|
| 34 | Server.cc |
---|
[2662] | 35 | TrafficControl.cc |
---|
[1505] | 36 | ) |
---|
[2710] | 37 | ADD_SUBDIRECTORY(packet) |
---|
| 38 | ADD_SUBDIRECTORY(synchronisable) |
---|
| 39 | GET_ALL_HEADER_FILES(NETWORK_HDR_FILES) |
---|
| 40 | SET(NETWORK_FILES ${NETWORK_SRC_FILES} ${NETWORK_HDR_FILES}) |
---|
[1505] | 41 | |
---|
[2710] | 42 | GENERATE_SOURCE_GROUPS(${NETWORK_FILES}) |
---|
[2131] | 43 | |
---|
[2710] | 44 | ADD_LIBRARY(network SHARED ${NETWORK_FILES}) |
---|
| 45 | SET_TARGET_PROPERTIES(network PROPERTIES DEFINE_SYMBOL "NETWORK_SHARED_BUILD") |
---|
| 46 | TARGET_LINK_LIBRARIES(network |
---|
[1505] | 47 | ${ZLIB_LIBRARY} |
---|
[2710] | 48 | ${ENET_LIBRARY} |
---|
| 49 | ${Boost_THREAD_LIBRARY} |
---|
| 50 | util |
---|
[1505] | 51 | core |
---|
| 52 | ) |
---|
| 53 | |
---|
[2710] | 54 | ORXONOX_INSTALL(network) |
---|