Changeset 2664 for code/branches/buildsystem3/src/util
- Timestamp:
- Feb 14, 2009, 10:53:45 PM (16 years ago)
- Location:
- code/branches/buildsystem3
- Files:
-
- 2 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3
- Property svn:ignore deleted
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util/CMakeLists.txt
r2295 r2664 1 SET(UTIL_SRC_FILES 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(UTIL_FILES 21 CRC32.h 22 Clipboard.h 23 Convert.h 24 Debug.h 25 Exception.h 26 ExprParser.h 27 Math.h 28 MathConvert.h 29 MultiType.h 30 MultiTypeValue.h 31 OutputBuffer.h 32 OutputHandler.h 33 SignalHandler.h 34 Sleep.h 35 String.h 36 SubString.h 37 UtilPrereqs.h 38 mbool.h 39 2 40 Clipboard.cc 3 41 CRC32.cc … … 12 50 SubString.cc 13 51 ) 52 #GET_ALL_HEADER_FILES(UTIL_HDR_FILES) 53 #SET(UTIL_FILES ${UTIL_SRC_FILES} ${UTIL_HDR_FILES}) 54 GENERATE_SOURCE_GROUPS(${UTIL_FILES}) 55 # Also add OrxonoxConfig to have it least somewhere in the IDE 56 LIST(APPEND UTIL_FILES 57 ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h 58 ${CMAKE_SOURCE_DIR}/src/OrxonoxConfig.h.in 59 ) 60 SOURCE_GROUP("" FILES 61 ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h 62 ${CMAKE_SOURCE_DIR}/src/OrxonoxConfig.h.in 63 ) 14 64 15 ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES}) 65 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) 66 # Get around displaying a few hundred lines of warning code 67 SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w") 68 ENDIF() 16 69 17 TARGET_LINK_LIBRARIES(util 18 ${OGRE_LIBRARIES} 19 ) 70 ADD_LIBRARY(util SHARED ${UTIL_FILES}) 71 SET_TARGET_PROPERTIES(util PROPERTIES DEFINE_SYMBOL "UTIL_SHARED_BUILD") 72 TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARY}) 73 74 ORXONOX_INSTALL(util) -
code/branches/buildsystem3/src/util/CRC32.h
r2171 r2664 32 32 #include "UtilPrereqs.h" 33 33 #include <iostream> 34 #include "Integers.h"35 34 36 35 namespace orxonox -
code/branches/buildsystem3/src/util/Clipboard.cc
r2171 r2664 36 36 #include "Clipboard.h" 37 37 38 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3238 #ifdef ORXONOX_PLATFORM_WINDOWS 39 39 40 40 ///////////// … … 104 104 } 105 105 106 #else /* ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32*/106 #else /* ORXONOX_PLATFORM_WINDOWS */ 107 107 108 108 ///////////// … … 135 135 } 136 136 137 #endif /* ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32*/137 #endif /* ORXONOX_PLATFORM_WINDOWS */ -
code/branches/buildsystem3/src/util/Convert.h
r2662 r2664 50 50 // This is however exactly what convertValue does, so we need to suppress these warnings. 51 51 // They only occur when using the ImplicitConversion template. 52 #if ORXONOX_COMPILER == ORXONOX_COMPILER_GNUC52 #ifdef ORXONOX_COMPILER_GCC 53 53 # pragma GCC system_header 54 54 #endif … … 63 63 64 64 // disable warnings about possible loss of data 65 #if ORXONOX_COMPILER ==ORXONOX_COMPILER_MSVC65 #ifdef ORXONOX_COMPILER_MSVC 66 66 # pragma warning(push) 67 67 # pragma warning(disable:4244) … … 88 88 } 89 89 90 #if ORXONOX_COMPILER ==ORXONOX_COMPILER_MSVC90 #ifdef ORXONOX_COMPILER_MSVC 91 91 # pragma warning(pop) 92 92 #endif -
code/branches/buildsystem3/src/util/Exception.cc
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/util/Exception.cc (added) merged: 2509-2510
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util/Exception.h
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/util/Exception.h (added) merged: 2509-2510
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util/Math.h
r2662 r2664 52 52 53 53 //Get around Windows hackery 54 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3254 #ifdef ORXONOX_PLATFORM_WINDOWS 55 55 # ifdef max 56 56 # undef max -
code/branches/buildsystem3/src/util/SignalHandler.cc
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/util/SignalHandler.cc (added) merged: 2596,2639
r2662 r2664 44 44 } 45 45 46 #if ORXONOX_PLATFORM != ORXONOX_PLATFORM_WIN3246 #ifdef ORXONOX_PLATFORM_LINUX 47 47 48 48 #include <wait.h> … … 353 353 } 354 354 355 #endif /* ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32*/355 #endif /* ORXONOX_PLATFORM_LINUX */ - Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util/SignalHandler.h
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/util/SignalHandler.h (added) merged: 2596,2639
r2662 r2664 46 46 } 47 47 48 #if ORXONOX_PLATFORM != ORXONOX_PLATFORM_WIN3248 #ifdef ORXONOX_PLATFORM_LINUX 49 49 #include <signal.h> 50 50 … … 97 97 } 98 98 99 #else /* ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32*/99 #else /* ORXONOX_PLATFORM_LINUX */ 100 100 101 101 namespace orxonox … … 116 116 } 117 117 118 #endif /* ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32*/118 #endif /* ORXONOX_PLATFORM_LINUX */ 119 119 120 120 #endif /* _SignalHandler_H__ */ - Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/util/Sleep.h
r2171 r2664 36 36 #define _Sleep_H__ 37 37 38 #include " OrxonoxPlatform.h"38 #include "UtilPrereqs.h" 39 39 40 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3240 #ifdef ORXONOX_PLATFORM_WINDOWS 41 41 #include <winbase.h> 42 42 -
code/branches/buildsystem3/src/util/UtilPrereqs.h
r2171 r2664 35 35 #define _UtilPrereqs_H__ 36 36 37 #include " util/OrxonoxPlatform.h"37 #include "OrxonoxConfig.h" 38 38 39 39 //----------------------------------------------------------------------- 40 40 // Shared library settings 41 41 //----------------------------------------------------------------------- 42 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( UTIL_STATIC_BUILD )42 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( UTIL_STATIC_BUILD ) 43 43 # ifdef UTIL_SHARED_BUILD 44 44 # define _UtilExport __declspec(dllexport)
Note: See TracChangeset
for help on using the changeset viewer.