Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core7/src/libraries/network/CMakeLists.txt @ 10520

Last change on this file since 10520 was 10478, checked in by landauf, 9 years ago

callStaticNetworkFunction() and callMemberNetworkFunction() are now template functions instead of macros.
simplified function call interface: always pass five MultiType-references. Check if MultiType.null() evaluates to true to see if the argument was defined.
moved references to NetworkFunctionManager to NetworkFunctionIncludes.cc.
this also fixed a linker error in MSVC by including NetworkFunctionIncludes.h in a build-unit inside the network library.

  • Property svn:eol-style set to native
File size: 1.8 KB
RevLine 
[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
20SET_SOURCE_FILES(NETWORK_SRC_FILES
[1505]21  Client.cc
22  ClientConnection.cc
[2087]23  ClientConnectionListener.cc
[3214]24  Connection.cc
[7490]25  FunctionCall.cc
[3084]26  FunctionCallManager.cc
[1735]27  GamestateManager.cc
[7801]28  #GamestateClient.cc
[1735]29  GamestateHandler.cc
[7163]30  LANDiscoverable.cc
31  LANDiscovery.cc
[7801]32  WANDiscoverable.cc
33  WANDiscovery.cc
34  MasterServerComm.cc
[3084]35  NetworkFunction.cc
[10478]36  NetworkFunctionIncludes.cc
[10468]37  NetworkFunctionManager.cc
[3084]38  Host.cc
[1505]39  Server.cc
[7801]40  MasterServer.cc
41  PeerList.cc
42  ServerList.cc
[3214]43  ServerConnection.cc
[2662]44  TrafficControl.cc
[1505]45)
[5695]46
[2710]47ADD_SUBDIRECTORY(packet)
48ADD_SUBDIRECTORY(synchronisable)
[1505]49
[3196]50ORXONOX_ADD_LIBRARY(network
[10477]51  FIND_HEADER_FILES
[7163]52  TOLUA_FILES
53    Client.h
54    LANDiscovery.h
[7801]55    WANDiscovery.h
[3196]56  PCH_FILE
57    NetworkPrecompiledHeaders.h
58  LINK_LIBRARIES
59    ${ZLIB_LIBRARY}
[7459]60    #${ENET_LIBRARY}
61    enet_orxonox
[3196]62    ${Boost_THREAD_LIBRARY}
[8351]63    ${CEGUI_TOLUA_LIBRARY}
[3196]64    util
65    core
66  SOURCE_FILES
[10477]67    ${NETWORK_SRC_FILES}
[1505]68)
Note: See TracBrowser for help on using the repository browser.