Changeset 1810 for code/trunk/src
- Timestamp:
- Sep 21, 2008, 8:44:25 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 1 deleted
- 20 edited
- 82 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/ceguilua (added) merged: 1803-1808
- Property svn:mergeinfo changed
-
code/trunk/src/CMakeLists.txt
r1555 r1810 2 2 INCLUDE_DIRECTORIES(..) 3 3 INCLUDE_DIRECTORIES(orxonox) 4 INCLUDE_DIRECTORIES(tolua)5 4 6 5 ADD_SUBDIRECTORY(cpptcl) 7 6 ADD_SUBDIRECTORY(ois) 8 7 ADD_SUBDIRECTORY(tinyxml) 8 ADD_SUBDIRECTORY(lua) 9 9 ADD_SUBDIRECTORY(tolua) 10 10 11 # Some people may not have CEGUILua installed, espc. with version 0.5 12 # And we don't know what lua version it was linked against, so we compile 13 # it ourselves. 14 # So first, find out what CEGUI version we have. 15 IF (${CEGUI_VERSION} LESS 0.6.0) 16 ADD_SUBDIRECTORY(ceguilua-0.5.0b) 17 INCLUDE_DIRECTORIES(ceguilua-0.5.0b) 18 ELSE (${CEGUI_VERSION} LESS 0.6.0) 19 ADD_SUBDIRECTORY(ceguilua-0.6.1) 20 INCLUDE_DIRECTORIES(ceguilua-0.6.1) 21 ENDIF (${CEGUI_VERSION} LESS 0.6.0) 22 23 24 # Our own libraries 11 25 ADD_SUBDIRECTORY(util) 12 26 ADD_SUBDIRECTORY(core) -
code/trunk/src/core/CMakeLists.txt
r1764 r1810 54 54 ) 55 55 56 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)56 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) 57 57 ADD_CUSTOM_COMMAND( 58 58 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc … … 65 65 66 66 TARGET_LINK_LIBRARIES(core 67 ${Lua_LIBRARIES}68 67 ${OGRE_LIBRARIES} 69 cpptcl 68 lua_orxonox 69 cpptcl_orxonox 70 70 ois_orxonox 71 tinyxml 72 tolualib 71 tinyxml_orxonox 72 tolualib_orxonox 73 73 util 74 74 ${Boost_thread_LIBRARIES} -
code/trunk/src/core/Script.cc
r1755 r1810 34 34 #include "CoreIncludes.h" 35 35 36 extern "C" { 37 #include <lualib.h> 38 #include <lauxlib.h> 39 } 36 #include "lua/lua.hpp" 40 37 41 38 #include "tolua/tolua++.h" -
code/trunk/src/core/Script.h
r1755 r1810 39 39 40 40 extern "C" { 41 #include <lua.h>41 #include "lua/lua.h" 42 42 } 43 43 -
code/trunk/src/cpptcl/CMakeLists.txt
r1505 r1810 1 ADD_LIBRARY(cpptcl SHARED CppTcl.cc)1 ADD_LIBRARY(cpptcl_orxonox SHARED CppTcl.cc) 2 2 3 TARGET_LINK_LIBRARIES(cpptcl 3 TARGET_LINK_LIBRARIES(cpptcl_orxonox 4 4 ${TCL_LIBRARY} 5 5 ) -
code/trunk/src/orxonox/CMakeLists.txt
r1755 r1810 66 66 ) 67 67 68 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)68 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) 69 69 ADD_CUSTOM_COMMAND( 70 70 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc … … 97 97 TARGET_LINK_LIBRARIES( orxonox 98 98 ${OGRE_LIBRARIES} 99 ${Lua_LIBRARIES}100 99 ${CEGUI_LIBRARIES} 101 ${CEGUI_SCRIPT_LIBRARIES} 102 tinyxml 103 tolualib 100 lua_orxonox 101 ceguilua_orxonox 102 tinyxml_orxonox 103 tolualib_orxonox 104 104 ois_orxonox 105 105 util -
code/trunk/src/orxonox/OrxonoxStableHeaders.h
r1781 r1810 37 37 #include "util/OrxonoxPlatform.h" 38 38 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH) && 039 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH) 40 40 41 41 // including std headers here is useless since they're already precompiled -
code/trunk/src/orxonox/gui/GUIManager.cc
r1776 r1810 39 39 #include <OgreRoot.h> 40 40 #include <CEGUI.h> 41 #include <CEGUILua.h>41 #include "ceguilua/CEGUILua.h" 42 42 #include "util/Exception.h" 43 43 #include "core/input/InputManager.h" … … 50 50 #include "OgreCEGUIRenderer.h" 51 51 52 extern "C" { 53 #include <lualib.h> 54 #include <lauxlib.h> 55 } 52 #include "lua/lua.hpp" 56 53 57 54 namespace orxonox -
code/trunk/src/tinyxml/CMakeLists.txt
r1505 r1810 7 7 ) 8 8 9 ADD_LIBRARY(tinyxml SHARED ${TINYXML_SRC_FILES})9 ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES}) -
code/trunk/src/tolua/CMakeLists.txt
r1755 r1810 7 7 ) 8 8 9 ADD_LIBRARY (tolualib SHARED ${TOLUALIB_SRC_FILES})9 ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES}) 10 10 11 TARGET_LINK_LIBRARIES (tolualib 12 ${Lua_LIBRARIES}11 TARGET_LINK_LIBRARIES (tolualib_orxonox 12 lua_orxonox 13 13 ) 14 14 … … 19 19 ) 20 20 21 ADD_EXECUTABLE (toluagen ${TOLUAGEN_SRC_FILES})21 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES}) 22 22 23 TARGET_LINK_LIBRARIES (toluagen 24 ${Lua_LIBRARIES}25 tolualib 23 TARGET_LINK_LIBRARIES (toluagen_orxonox 24 lua_orxonox 25 tolualib_orxonox 26 26 m 27 27 ) 28 28 29 29 30 IF (Lua_VERSION EQUAL 5.0) 31 SET (TOLUA_PACKAGE "../../src/tolua/tolua-5.0.pkg") 32 ELSE (Lua_VERSION EQUAL 5.0) 33 SET (TOLUA_PACKAGE "../../src/tolua/tolua-5.1.pkg") 34 ENDIF (Lua_VERSION EQUAL 5.0) 35 36 GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen LOCATION) 30 SET (TOLUA_PACKAGE "../../src/tolua/tolua-5.1.pkg") 31 GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen_orxonox LOCATION) 37 32 ADD_CUSTOM_COMMAND( 38 33 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/toluabind_orxonox.c 39 34 COMMAND ${TOLUAGEN_EXE} -n tolua -o ../../src/tolua/toluabind_orxonox.c -H ../../src/tolua/toluabind_orxonox.h ${TOLUA_PACKAGE} 40 DEPENDS toluagen 35 DEPENDS toluagen_orxonox 41 36 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 42 37 ) … … 47 42 ) 48 43 49 ADD_EXECUTABLE (tolua ${TOLUAEXE_SRC_FILES})44 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES}) 50 45 51 TARGET_LINK_LIBRARIES (tolua 52 ${Lua_LIBRARIES}53 tolualib 46 TARGET_LINK_LIBRARIES (tolua_orxonox 47 lua_orxonox 48 tolualib_orxonox 54 49 m 55 50 ) -
code/trunk/src/tolua/lua/package.lua
r1755 r1810 116 116 output('#endif\n') 117 117 output('#include "string.h"\n\n') 118 output('#include "tolua ++.h"\n\n')118 output('#include "tolua/tolua++.h"\n\n') 119 119 120 120 if not flags.h then -
code/trunk/src/tolua/tolua++.h
r1755 r1810 65 65 typedef int lua_Object; 66 66 67 #include "lua .h"68 #include "l auxlib.h"67 #include "lua/lua.h" 68 #include "lua/lauxlib.h" 69 69 70 70 struct tolua_Error -
code/trunk/src/tolua/tolua-5.1.pkg
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/trunk/src/tolua/tolua.c
r1505 r1810 15 15 #include "tolua++.h" 16 16 17 #include "lua .h"18 #include "lua lib.h"19 #include "l auxlib.h"17 #include "lua/lua.h" 18 #include "lua/lualib.h" 19 #include "lua/lauxlib.h" 20 20 21 21 #include <stdio.h> -
code/trunk/src/tolua/tolua_is.c
r1505 r1810 14 14 15 15 #include "tolua++.h" 16 #include "l auxlib.h"16 #include "lua/lauxlib.h" 17 17 18 18 #include <stdlib.h> -
code/trunk/src/tolua/tolua_map.c
r1505 r1810 15 15 #include "tolua++.h" 16 16 #include "tolua_event.h" 17 #include "l auxlib.h"17 #include "lua/lauxlib.h" 18 18 19 19 #include <string.h> -
code/trunk/src/tolua/tolua_push.c
r1505 r1810 14 14 15 15 #include "tolua++.h" 16 #include "l auxlib.h"16 #include "lua/lauxlib.h" 17 17 18 18 #include <stdlib.h> -
code/trunk/src/util/Exception.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/trunk/src/util/Exception.h
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.