Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10478 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
Line 
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
21  Client.cc
22  ClientConnection.cc
23  ClientConnectionListener.cc
24  Connection.cc
25  FunctionCall.cc
26  FunctionCallManager.cc
27  GamestateManager.cc
28  #GamestateClient.cc
29  GamestateHandler.cc
30  LANDiscoverable.cc
31  LANDiscovery.cc
32  WANDiscoverable.cc
33  WANDiscovery.cc
34  MasterServerComm.cc
35  NetworkFunction.cc
36  NetworkFunctionIncludes.cc
37  NetworkFunctionManager.cc
38  Host.cc
39  Server.cc
40  MasterServer.cc
41  PeerList.cc
42  ServerList.cc
43  ServerConnection.cc
44  TrafficControl.cc
45)
46
47ADD_SUBDIRECTORY(packet)
48ADD_SUBDIRECTORY(synchronisable)
49
50ORXONOX_ADD_LIBRARY(network
51  FIND_HEADER_FILES
52  TOLUA_FILES
53    Client.h
54    LANDiscovery.h
55    WANDiscovery.h
56  PCH_FILE
57    NetworkPrecompiledHeaders.h
58  LINK_LIBRARIES
59    ${ZLIB_LIBRARY}
60    #${ENET_LIBRARY}
61    enet_orxonox
62    ${Boost_THREAD_LIBRARY}
63    ${CEGUI_TOLUA_LIBRARY}
64    util
65    core
66  SOURCE_FILES
67    ${NETWORK_SRC_FILES}
68)
Note: See TracBrowser for help on using the repository browser.