Changeset 2664 for code/branches/buildsystem3/src/core
- Timestamp:
- Feb 14, 2009, 10:53:45 PM (16 years ago)
- Location:
- code/branches/buildsystem3
- Files:
-
- 1 deleted
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3
- Property svn:ignore deleted
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/core/ArgumentCompletionFunctions.cc
r2087 r2664 63 63 startdirectory = "."; 64 64 } 65 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3265 #ifdef ORXONOX_PLATFORM_WINDOWS 66 66 else 67 67 { -
code/branches/buildsystem3/src/core/BaseObject.cc
r2662 r2664 33 33 34 34 #include "BaseObject.h" 35 #include "tinyxml/tinyxml.h" 35 36 #include <tinyxml/tinyxml.h> 37 36 38 #include "CoreIncludes.h" 37 39 #include "EventIncludes.h" -
code/branches/buildsystem3/src/core/CMakeLists.txt
r2131 r2664 1 SET(CORE_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(CORE_SRC_FILES 2 21 Clock.cc 3 22 ConfigFileManager.cc … … 41 60 TclBind.cc 42 61 TclThreadManager.cc 62 ) 63 ADD_SUBDIRECTORY(input) 64 GET_ALL_HEADER_FILES(CORE_HDR_FILES) 65 SET(CORE_FILES ${CORE_SRC_FILES} ${CORE_HDR_FILES}) 43 66 44 tolua/tolua_bind.cc 67 GENERATE_SOURCE_GROUPS(${CORE_FILES}) 68 GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h) 69 70 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) 71 # Get around displaying a few hundred lines of warning code 72 SET_SOURCE_FILES_PROPERTIES(ArgumentCompletionFunctions.cc PROPERTIES COMPILE_FLAGS "-w") 73 ENDIF() 74 75 ADD_LIBRARY(core SHARED ${CORE_FILES}) 76 77 SET_TARGET_PROPERTIES(core PROPERTIES DEFINE_SYMBOL "CORE_SHARED_BUILD") 78 TARGET_LINK_LIBRARIES(core 79 ${OGRE_LIBRARY} 80 ${Boost_THREAD_LIBRARY} 81 ${Boost_FILESYSTEM_LIBRARY} 82 ${Boost_SYSTEM_LIBRARY} 83 ${Boost_DATE_TIME_LIBRARY} # MSVC only 84 ${LUA_LIBRARIES} 85 cpptcl_orxonox 86 ois_orxonox 87 tinyxml++_orxonox 88 tolua++_orxonox 89 util 45 90 ) 46 91 47 ADD_SOURCE_DIRECTORY(CORE_SRC_FILES input) 48 49 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) 50 ADD_CUSTOM_COMMAND( 51 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h 52 COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg 53 DEPENDS 54 tolua_orxonox 55 tolua/tolua.pkg 56 LuaBind.h 57 CommandExecutor.h 58 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 59 ) 60 61 ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) 62 63 TARGET_LINK_LIBRARIES(core 64 ${OGRE_LIBRARIES} 65 ${Boost_thread_LIBRARIES} 66 ${Boost_filesystem_LIBRARIES} 67 lua_orxonox 68 cpptcl_orxonox 69 ois_orxonox 70 tinyxml_orxonox 71 tolualib_orxonox 72 util 73 ) 92 ORXONOX_INSTALL(core) -
code/branches/buildsystem3/src/core/CommandExecutor.h
r2662 r2664 36 36 #include "CommandEvaluation.h" 37 37 38 namespace orxonox // tolua_export 39 { // tolua_export 38 // tolua_begin 39 namespace orxonox 40 { 40 41 class _CoreExport CommandExecutor 41 /*42 class CommandExecutor { // tolua_export43 */44 42 { 43 // tolua_end 45 44 public: 46 45 static bool execute(const std::string& command, bool useTcl = true); // tolua_export -
code/branches/buildsystem3/src/core/CorePrereqs.h
r2662 r2664 35 35 #define _CorePrereqs_H__ 36 36 37 #include " util/OrxonoxPlatform.h"37 #include "OrxonoxConfig.h" 38 38 39 39 #include <string> … … 42 42 // Shared library settings 43 43 //----------------------------------------------------------------------- 44 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( CORE_STATIC_BUILD )44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD ) 45 45 # ifdef CORE_SHARED_BUILD 46 46 # define _CoreExport __declspec(dllexport) -
code/branches/buildsystem3/src/core/Functor.h
r2662 r2664 436 436 437 437 // disable annoying warning about forcing value to boolean 438 #if ORXONOX_COMPILER ==ORXONOX_COMPILER_MSVC438 #ifdef ORXONOX_COMPILER_MSVC 439 439 #pragma warning(push) 440 440 #pragma warning(disable:4100 4800) … … 475 475 } 476 476 477 #if ORXONOX_COMPILER ==ORXONOX_COMPILER_MSVC477 #ifdef ORXONOX_COMPILER_MSVC 478 478 #pragma warning(pop) 479 479 #endif -
code/branches/buildsystem3/src/core/IRC.h
r1505 r2664 32 32 #include "CorePrereqs.h" 33 33 34 #include <cpptcl/cpptcl.h> 34 35 #include "OrxonoxClass.h" 35 #include "cpptcl/CppTcl.h"36 36 37 37 namespace orxonox -
code/branches/buildsystem3/src/core/Loader.cc
r2662 r2664 28 28 29 29 #include "Loader.h" 30 31 #include <tinyxml/ticpp.h> 32 30 33 #include "XMLFile.h" 31 34 #include "BaseObject.h" … … 39 42 #include "util/Exception.h" 40 43 41 #include "tinyxml/ticpp.h"42 43 44 namespace orxonox 44 45 { -
code/branches/buildsystem3/src/core/LuaBind.cc
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/code/branches/buildsystem/src/core/Script.cc merged eligible /code/branches/buildsystem2/src/core/LuaBind.cc merged eligible /code/branches/lodfinal/src/core/LuaBind.cc merged eligible /code/branches/network/src/core/LuaBind.cc merged eligible /code/branches/objecthierarchy2/src/core/LuaBind.cc merged eligible /code/branches/pickups2/src/core/LuaBind.cc merged eligible /code/branches/presentation/src/core/LuaBind.cc merged eligible /code/branches/questsystem2/src/core/LuaBind.cc merged eligible /code/branches/weapon2/src/core/LuaBind.cc merged eligible /code/branches/buildsystem/src/core/LuaBind.cc 1874-2276,2278-2400 /code/branches/ceguilua/src/core/LuaBind.cc 1802-1808 /code/branches/core3/src/core/LuaBind.cc 1572-1739 /code/branches/gcc43/src/core/LuaBind.cc 1580 /code/branches/gui/src/core/LuaBind.cc 1635-1723 /code/branches/input/src/core/LuaBind.cc 1629-1636 /code/branches/network64/src/core/LuaBind.cc 2210-2355 /code/branches/objecthierarchy/src/core/LuaBind.cc 1911-2085,2100,2110-2169 /code/branches/overlay/src/core/LuaBind.cc 2117-2385 /code/branches/physics/src/core/LuaBind.cc 1912-2055,2107-2439 /code/branches/physics_merge/src/core/LuaBind.cc 2436-2457 /code/branches/pickups/src/core/LuaBind.cc 1926-2086,2127 /code/branches/questsystem/src/core/LuaBind.cc 1894-2088 /code/branches/script_trigger/src/core/LuaBind.cc 1295-1953,1955 /code/branches/weapon/src/core/LuaBind.cc 1925-2094
r2662 r2664 32 32 #include <map> 33 33 34 #include "lua/lua.hpp" 35 #include "tolua/tolua++.h" 36 #include "tolua/tolua_bind.h" 34 extern "C" { 35 #include <lua.h> 36 #include <lualib.h> 37 } 38 #include <tolua/tolua++.h> 39 40 #include "ToluaBindCore.h" 37 41 #include "util/String.h" 38 42 #include "CoreIncludes.h" -
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
code/branches/buildsystem3/src/core/LuaBind.h
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/code/branches/buildsystem/src/core/Script.h merged eligible /code/branches/buildsystem2/src/core/LuaBind.h merged eligible /code/branches/lodfinal/src/core/LuaBind.h merged eligible /code/branches/network/src/core/LuaBind.h merged eligible /code/branches/objecthierarchy2/src/core/LuaBind.h merged eligible /code/branches/pickups2/src/core/LuaBind.h merged eligible /code/branches/presentation/src/core/LuaBind.h merged eligible /code/branches/questsystem2/src/core/LuaBind.h merged eligible /code/branches/weapon2/src/core/LuaBind.h merged eligible /code/branches/buildsystem/src/core/LuaBind.h 1874-2276,2278-2400 /code/branches/ceguilua/src/core/LuaBind.h 1802-1808 /code/branches/core3/src/core/LuaBind.h 1572-1739 /code/branches/gcc43/src/core/LuaBind.h 1580 /code/branches/gui/src/core/LuaBind.h 1635-1723 /code/branches/input/src/core/LuaBind.h 1629-1636 /code/branches/network64/src/core/LuaBind.h 2210-2355 /code/branches/objecthierarchy/src/core/LuaBind.h 1911-2085,2100,2110-2169 /code/branches/overlay/src/core/LuaBind.h 2117-2385 /code/branches/physics/src/core/LuaBind.h 1912-2055,2107-2439 /code/branches/physics_merge/src/core/LuaBind.h 2436-2457 /code/branches/pickups/src/core/LuaBind.h 1926-2086,2127 /code/branches/questsystem/src/core/LuaBind.h 1894-2088 /code/branches/script_trigger/src/core/LuaBind.h 1295-1953,1955 /code/branches/weapon/src/core/LuaBind.h 1925-2094
r2662 r2664 39 39 40 40 extern "C" { 41 #include <lua /lua.h>41 #include <lua.h> 42 42 } 43 43 … … 46 46 #include <string> 47 47 48 namespace orxonox // tolua_export 49 { // tolua_export 48 // tolua_begin 49 namespace orxonox 50 { 50 51 class _CoreExport LuaBind 51 52 { 52 /* 53 class LuaBind { // tolua_export 54 */ 53 54 // tolua_end 55 55 struct LoadS { 56 56 const char *s; -
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
code/branches/buildsystem3/src/core/TclBind.h
r1792 r2664 32 32 #include "CorePrereqs.h" 33 33 34 #include "cpptcl/CppTcl.h"34 #include <cpptcl/cpptcl.h> 35 35 36 36 namespace orxonox -
code/branches/buildsystem3/src/core/TclThreadManager.h
r1792 r2664 40 40 #include <boost/thread/thread.hpp> 41 41 42 #include "cpptcl/CppTcl.h"42 #include <cpptcl/cpptcl.h> 43 43 #include "core/OrxonoxClass.h" 44 44 -
code/branches/buildsystem3/src/core/Template.cc
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/core/Template.cc (added) merged: 2567,2610
r2662 r2664 29 29 #include "Template.h" 30 30 31 #include <tinyxml/ticpp.h> 32 31 33 #include "core/CoreIncludes.h" 32 34 #include "core/XMLPort.h" 33 35 #include "util/Debug.h" 34 #include "tinyxml/ticpp.h"35 36 36 37 namespace orxonox - Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/core/Template.h
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/core/Template.h (added) merged: 2567,2610
r2662 r2664 34 34 #include "CorePrereqs.h" 35 35 36 #include <tinyxml/tinyxml.h> 36 37 #include "BaseObject.h" 37 #include "tinyxml/tinyxml.h"38 38 39 39 namespace orxonox - Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/core/XMLFile.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/buildsystem3/src/core/XMLIncludes.h
- Property svn:mergeinfo changed
/code/branches/buildsystem2/src/core/XMLIncludes.h (added) merged: 2509-2510
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/core/XMLPort.h
r2662 r2664 44 44 45 45 #include <cassert> 46 #include <tinyxml/ticpp.h> 46 47 #include "util/Debug.h" 47 48 #include "util/Exception.h" 48 49 #include "util/MultiType.h" 49 #include "tinyxml/ticpp.h"50 50 #include "XMLIncludes.h" 51 51 #include "Executor.h" -
code/branches/buildsystem3/src/core/input/CMakeLists.txt
r2131 r2664 1 SET(SRC_FILES1 ADD_SOURCE_FILES(CORE_SRC_FILES 2 2 Button.cc 3 3 CalibratorCallback.cc … … 12 12 SimpleInputState.cc 13 13 ) 14 15 ADD_SOURCE_FILES(SRC_FILES)
Note: See TracChangeset
for help on using the changeset viewer.