[Orxonox-commit 3301] r7990 - in code/branches/usability: . cmake src src/external/enet src/libraries/network
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun Feb 27 17:29:19 CET 2011
Author: rgrieder
Date: 2011-02-27 17:29:19 +0100 (Sun, 27 Feb 2011)
New Revision: 7990
Modified:
code/branches/usability/
code/branches/usability/cmake/LibraryConfig.cmake
code/branches/usability/src/CMakeLists.txt
code/branches/usability/src/external/enet/win32.c
code/branches/usability/src/external/enet/win32.h
code/branches/usability/src/libraries/network/NetworkPrecompiledHeaders.h
Log:
Merged revisions 7952-7955 from trunk to usability in order to fix the build.
Property changes on: code/branches/usability
___________________________________________________________________
Modified: svn:mergeinfo
- /code/branches/ai:6592-7033
/code/branches/buildsystem:1874-2276,2278-2400
/code/branches/buildsystem2:2506-2658
/code/branches/buildsystem3:2662-2708
/code/branches/ceguilua:1802-1808
/code/branches/chat:6527-6797
/code/branches/chat2:6836-6910
/code/branches/console:5941-6104
/code/branches/consolecommands2:6451-7178
/code/branches/consolecommands3:7178-7283
/code/branches/core3:1572-1739
/code/branches/core4:3221-3224,3227,3234-3238,3242,3244-3250,3252-3254,3256,3259-3261,3264-3265,3268-3275,3277-3278,3280,3284-3285,3287,3289-3294,3305,3309-3310
/code/branches/core5:5768-5928,6009
/code/branches/data_cleanup:7537-7686
/code/branches/doc:7290-7400
/code/branches/dynamicmatch:6584-7030
/code/branches/fps:6591-7072
/code/branches/gamestate:6430-6572,6621-6661
/code/branches/gamestates2:6594-6745
/code/branches/gametypes:2826-3031
/code/branches/gcc43:1580
/code/branches/gui:1635-1723,2795-2894
/code/branches/hudelements:6584-6941
/code/branches/ingamemenu:6000-6023
/code/branches/input:1629-1636
/code/branches/ipv6:7293-7458
/code/branches/lastmanstanding:7479-7644
/code/branches/libraries:5612-5692
/code/branches/libraries2:5703-5737
/code/branches/lod:6586-6911
/code/branches/lodfinal:2372-2411
/code/branches/map:2801-3086,3089
/code/branches/masterserver:7502-7738
/code/branches/menu:5941-6146,6148,7536-7687
/code/branches/miniprojects:2754-2824
/code/branches/netp2:2835-2988
/code/branches/netp3:2988-3082
/code/branches/netp6:3214-3302
/code/branches/network:2356
/code/branches/network2:6434-6465
/code/branches/network3:7196-7344
/code/branches/network4:7497-7755
/code/branches/network5:7757-7781
/code/branches/network64:2210-2355
/code/branches/notifications:7314-7401
/code/branches/objecthierarchy:1911-2085,2100,2110-2169
/code/branches/objecthierarchy2:2171-2479
/code/branches/overlay:2117-2385
/code/branches/particles:2829-3085
/code/branches/particles2:6050-6106,6109
/code/branches/pch:3113-3194
/code/branches/physics:1912-2055,2107-2439
/code/branches/physics_merge:2436-2457
/code/branches/pickup2:5942-6405
/code/branches/pickup3:6418-6523
/code/branches/pickup4:6594-6710
/code/branches/pickups:1926-2086,2127,2827-2915
/code/branches/pickups2:2107-2497,2915-3071
/code/branches/png2:7262-7263
/code/branches/ppspickups1:6552-6708
/code/branches/ppspickups2:6527-6532,6554-6709
/code/branches/ppspickups3:6757-6997
/code/branches/ppspickups4:7003-7089
/code/branches/presentation:2369-2652,2654-2660,7736-7786
/code/branches/presentation2:6106-6416,7787-7800
/code/branches/presentation3:6913-7162
/code/branches/questsystem:1894-2088
/code/branches/questsystem2:2107-2259
/code/branches/questsystem5:2776-2905
/code/branches/releasetodo:7614-7647
/code/branches/resource:3327-3366
/code/branches/resource2:3372-5694
/code/branches/rocket:6523-6950
/code/branches/rocket2:6953-6970
/code/branches/script_trigger:1295-1953,1955
/code/branches/skybox2:6559-6989
/code/branches/sound:2829-3010
/code/branches/sound3:5941-6102
/code/branches/steering:5949-6091
/code/branches/weapon:1925-2094
/code/branches/weapon2:2107-2488
/code/branches/weapons:2897-3051
/code/branches/weaponsystem:2742-2890
+ /code/branches/ai:6592-7033
/code/branches/buildsystem:1874-2276,2278-2400
/code/branches/buildsystem2:2506-2658
/code/branches/buildsystem3:2662-2708
/code/branches/ceguilua:1802-1808
/code/branches/chat:6527-6797
/code/branches/chat2:6836-6910
/code/branches/console:5941-6104
/code/branches/consolecommands2:6451-7178
/code/branches/consolecommands3:7178-7283
/code/branches/core3:1572-1739
/code/branches/core4:3221-3224,3227,3234-3238,3242,3244-3250,3252-3254,3256,3259-3261,3264-3265,3268-3275,3277-3278,3280,3284-3285,3287,3289-3294,3305,3309-3310
/code/branches/core5:5768-5928,6009
/code/branches/data_cleanup:7537-7686
/code/branches/doc:7290-7400
/code/branches/dynamicmatch:6584-7030
/code/branches/fps:6591-7072
/code/branches/gamestate:6430-6572,6621-6661
/code/branches/gamestates2:6594-6745
/code/branches/gametypes:2826-3031
/code/branches/gcc43:1580
/code/branches/gui:1635-1723,2795-2894
/code/branches/hudelements:6584-6941
/code/branches/ingamemenu:6000-6023
/code/branches/input:1629-1636
/code/branches/ipv6:7293-7458
/code/branches/lastmanstanding:7479-7644
/code/branches/libraries:5612-5692
/code/branches/libraries2:5703-5737
/code/branches/lod:6586-6911
/code/branches/lodfinal:2372-2411
/code/branches/map:2801-3086,3089
/code/branches/masterserver:7502-7738
/code/branches/menu:5941-6146,6148,7536-7687
/code/branches/miniprojects:2754-2824
/code/branches/netp2:2835-2988
/code/branches/netp3:2988-3082
/code/branches/netp6:3214-3302
/code/branches/network:2356
/code/branches/network2:6434-6465
/code/branches/network3:7196-7344
/code/branches/network4:7497-7755
/code/branches/network5:7757-7781
/code/branches/network64:2210-2355
/code/branches/notifications:7314-7401
/code/branches/objecthierarchy:1911-2085,2100,2110-2169
/code/branches/objecthierarchy2:2171-2479
/code/branches/overlay:2117-2385
/code/branches/particles:2829-3085
/code/branches/particles2:6050-6106,6109
/code/branches/pch:3113-3194
/code/branches/physics:1912-2055,2107-2439
/code/branches/physics_merge:2436-2457
/code/branches/pickup2:5942-6405
/code/branches/pickup3:6418-6523
/code/branches/pickup4:6594-6710
/code/branches/pickups:1926-2086,2127,2827-2915
/code/branches/pickups2:2107-2497,2915-3071
/code/branches/png2:7262-7263
/code/branches/ppspickups1:6552-6708
/code/branches/ppspickups2:6527-6532,6554-6709
/code/branches/ppspickups3:6757-6997
/code/branches/ppspickups4:7003-7089
/code/branches/presentation:2369-2652,2654-2660,7736-7786
/code/branches/presentation2:6106-6416,7787-7800
/code/branches/presentation3:6913-7162
/code/branches/questsystem:1894-2088
/code/branches/questsystem2:2107-2259
/code/branches/questsystem5:2776-2905
/code/branches/releasetodo:7614-7647
/code/branches/resource:3327-3366
/code/branches/resource2:3372-5694
/code/branches/rocket:6523-6950
/code/branches/rocket2:6953-6970
/code/branches/script_trigger:1295-1953,1955
/code/branches/skybox2:6559-6989
/code/branches/sound:2829-3010
/code/branches/sound3:5941-6102
/code/branches/steering:5949-6091
/code/branches/weapon:1925-2094
/code/branches/weapon2:2107-2488
/code/branches/weapons:2897-3051
/code/branches/weaponsystem:2742-2890
/code/trunk:7952-7955
Modified: code/branches/usability/cmake/LibraryConfig.cmake
===================================================================
--- code/branches/usability/cmake/LibraryConfig.cmake 2011-02-27 16:08:13 UTC (rev 7989)
+++ code/branches/usability/cmake/LibraryConfig.cmake 2011-02-27 16:29:19 UTC (rev 7990)
@@ -100,6 +100,8 @@
FIND_PACKAGE(ZLIB REQUIRED)
IF(POCO_REQUIRED)
FIND_PACKAGE(POCO REQUIRED)
+ # Always link against POCO too because of threading
+ SET(OGRE_LIBRARY ${OGRE_LIBRARY} ${POCO_LIBRARY})
ENDIF()
IF(WIN32)
FIND_PACKAGE(DbgHelp)
Modified: code/branches/usability/src/CMakeLists.txt
===================================================================
--- code/branches/usability/src/CMakeLists.txt 2011-02-27 16:08:13 UTC (rev 7989)
+++ code/branches/usability/src/CMakeLists.txt 2011-02-27 16:29:19 UTC (rev 7990)
@@ -32,8 +32,9 @@
####### Library Behaviour (dependencies) ########
-# Disable Boost auto linking completely
+# Disable auto linking completely for Boost and POCO
ADD_COMPILER_FLAGS("-DBOOST_ALL_NO_LIB")
+ADD_COMPILER_FLAGS("-DPOCO_NO_AUTOMATIC_LIBS")
# If no defines are specified, these libs get linked statically
ADD_COMPILER_FLAGS("-DBOOST_ALL_DYN_LINK" WIN32 LINK_BOOST_DYNAMIC)
Modified: code/branches/usability/src/external/enet/win32.c
===================================================================
--- code/branches/usability/src/external/enet/win32.c 2011-02-27 16:08:13 UTC (rev 7989)
+++ code/branches/usability/src/external/enet/win32.c 2011-02-27 16:29:19 UTC (rev 7990)
@@ -7,6 +7,7 @@
#define _WIN32_WINNT 0x0501
#include <time.h>
+#include <ws2tcpip.h>
#define ENET_BUILDING_LIB 1
#include "enet/enet.h"
Modified: code/branches/usability/src/external/enet/win32.h
===================================================================
--- code/branches/usability/src/external/enet/win32.h 2011-02-27 16:08:13 UTC (rev 7989)
+++ code/branches/usability/src/external/enet/win32.h 2011-02-27 16:29:19 UTC (rev 7990)
@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <winsock2.h>
-#include <ws2tcpip.h>
typedef SOCKET ENetSocket;
Modified: code/branches/usability/src/libraries/network/NetworkPrecompiledHeaders.h
===================================================================
--- code/branches/usability/src/libraries/network/NetworkPrecompiledHeaders.h 2011-02-27 16:08:13 UTC (rev 7989)
+++ code/branches/usability/src/libraries/network/NetworkPrecompiledHeaders.h 2011-02-27 16:29:19 UTC (rev 7990)
@@ -61,6 +61,9 @@
#include <list> // 16
#include <cmath> // 15
+#define WIN32_LEAN_AND_MEAN
+#include <enet/enet.h> // 6, 3.1MB
+
#include <OgreMath.h> // 15
#include <OgreVector2.h> // 15
#include <OgreVector3.h> // 15
@@ -70,9 +73,6 @@
#include "util/mbool.h" // 11
-#define WIN32_LEAN_AND_MEAN
-#include <enet/enet.h> // 6, 3.1MB
-
#endif /*ORXONOX_COMPILER_MSVC */
More information about the Orxonox-commit
mailing list