Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pch/src/network/CMakeLists.txt @ 3161

Last change on this file since 3161 was 3116, checked in by rgrieder, 16 years ago

Added new CMake functions: ORXONOX_ADD_LIBRARY and ORXONOX_ADD_EXECUTABLE.
They replace the current functions ADD_LIBRARY and ADD_EXECUTABLE to allow for clearer and easier declaration.
And it allows for GCC precompiled header file support in the first place ;)
More information can be found in TargetUtilities.cmake

  • Property svn:eol-style set to native
File size: 1.5 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  ChatListener.cc
22  Client.cc
23  ClientConnection.cc
24  ClientInformation.cc
25  ClientConnectionListener.cc
26  ConnectionManager.cc
27  FunctionCallManager.cc
28  GamestateManager.cc
29  GamestateClient.cc
30  GamestateHandler.cc
31  NetworkFunction.cc
32  Host.cc
33  PacketBuffer.cc
34  Server.cc
35  TrafficControl.cc
36)
37ADD_SUBDIRECTORY(packet)
38ADD_SUBDIRECTORY(synchronisable)
39
40ORXONOX_ADD_LIBRARY(network
41  FIND_HEADER_FILES
42  DEFINE_SYMBOL
43    "NETWORK_SHARED_BUILD"
44  LINK_LIBRARIES
45    ${ZLIB_LIBRARY}
46    ${ENET_LIBRARY}
47    ${Boost_THREAD_LIBRARY}
48    util
49    core
50  SOURCE_FILES
51    ${NETWORK_SRC_FILES}
52)
Note: See TracBrowser for help on using the repository browser.