Changeset 1975 for code/branches/buildsystem/src
- Timestamp:
- Oct 20, 2008, 5:53:16 PM (16 years ago)
- Location:
- code/branches/buildsystem/src
- Files:
-
- 56 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/CMakeLists.txt
r1885 r1975 3 3 INCLUDE_DIRECTORIES(ois) # for ois library subfolders 4 4 INCLUDE_DIRECTORIES(orxonox) 5 INCLUDE_DIRECTORIES(lua) # for tolua library and generator 5 #INCLUDE_DIRECTORIES(lua) # for tolua library and generator 6 INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR}) 6 7 7 8 ADD_SUBDIRECTORY(cpptcl) 8 9 ADD_SUBDIRECTORY(ois) 9 10 ADD_SUBDIRECTORY(tinyxml) 10 ADD_SUBDIRECTORY(lua)11 #ADD_SUBDIRECTORY(lua) 11 12 ADD_SUBDIRECTORY(tolua) 12 13 … … 16 17 # So first, find out what CEGUI version we have. 17 18 18 IF (WIN32) 19 ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) 20 INCLUDE_DIRECTORIES(ceguilua-0.6.1) 21 ELSE (WIN32) 22 IF (${CEGUI_VERSION} LESS 0.6.0) 23 ADD_SUBDIRECTORY(ceguilua-0.5.0b/ceguilua) 24 INCLUDE_DIRECTORIES(ceguilua-0.5.0b) 25 ELSE (${CEGUI_VERSION} LESS 0.6.0) 26 ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) 27 INCLUDE_DIRECTORIES(ceguilua-0.6.1) 28 ENDIF (${CEGUI_VERSION} LESS 0.6.0) 29 ENDIF (WIN32) 30 19 #IF (WIN32) 20 # ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) 21 # INCLUDE_DIRECTORIES(ceguilua-0.6.1) 22 #ELSE (WIN32) 23 # IF (${CEGUI_VERSION} LESS 0.6.0) 24 # ADD_SUBDIRECTORY(ceguilua-0.5.0b/ceguilua) 25 # INCLUDE_DIRECTORIES(ceguilua-0.5.0b) 26 # ELSE (${CEGUI_VERSION} LESS 0.6.0) 27 # ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) 28 # INCLUDE_DIRECTORIES(ceguilua-0.6.1) 29 # ENDIF (${CEGUI_VERSION} LESS 0.6.0) 30 #ENDIF (WIN32) 31 31 32 32 # Our own libraries -
code/branches/buildsystem/src/core/CMakeLists.txt
r1882 r1975 61 61 ${Boost_thread_LIBRARIES} 62 62 ${Boost_filesystem_LIBRARIES} 63 lua_orxonox63 ${LUA_LIBRARIES} 64 64 cpptcl_orxonox 65 65 ois_orxonox -
code/branches/buildsystem/src/core/Script.cc
r1882 r1975 34 34 #include "CoreIncludes.h" 35 35 36 #include "lua/lua.hpp" 36 extern "C" { 37 #include "lua.h" 38 #include "lualib.h" 39 } 37 40 38 41 #include "tolua++.h" -
code/branches/buildsystem/src/core/Script.h
r1810 r1975 39 39 40 40 extern "C" { 41 #include "lua /lua.h"41 #include "lua.h" 42 42 } 43 43 -
code/branches/buildsystem/src/orxonox/CMakeLists.txt
r1882 r1975 97 97 ${OGRE_LIBRARIES} 98 98 ${CEGUI_LIBRARIES} 99 lua_orxonox100 ceguilua_orxonox99 ${LUA_LIBRARIES} 100 CEGUILuaScriptModule 101 101 tinyxml_orxonox 102 102 tolualib_orxonox -
code/branches/buildsystem/src/orxonox/gui/GUIManager.cc
r1882 r1975 39 39 #include <OgreRoot.h> 40 40 #include <CEGUI.h> 41 #include "ceguilua/CEGUILua.h"41 #include <CEGUILua.h> 42 42 #include "util/Exception.h" 43 43 #include "core/input/InputManager.h" … … 50 50 #include "OgreCEGUIRenderer.h" 51 51 52 #include "lua/lua.hpp" 52 extern "C" { 53 #include "lua.h" 54 } 53 55 54 56 namespace orxonox -
code/branches/buildsystem/src/tolua/CMakeLists.txt
r1882 r1975 1 # TODO: only build the object files once 2 1 3 SET (TOLUALIB_SRC_FILES 2 4 tolua_event.c … … 8 10 9 11 ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES}) 10 11 TARGET_LINK_LIBRARIES (tolualib_orxonox 12 lua_orxonox 13 ) 14 12 TARGET_LINK_LIBRARIES (tolualib_orxonox ${LUA_LIBRARIES}) 15 13 16 14 SET (TOLUAGEN_SRC_FILES … … 19 17 ) 20 18 21 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES}) 22 23 TARGET_LINK_LIBRARIES (toluagen_orxonox 24 lua_orxonox 25 tolualib_orxonox 26 m 27 ) 28 19 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES} ${TOLUALIB_SRC_FILES}) 20 TARGET_LINK_LIBRARIES (toluagen_orxonox ${LUA_LIBRARIES}) 29 21 30 22 SET (TOLUA_PACKAGE "${CMAKE_CURRENT_SOURCE_DIR}/tolua-5.1.pkg") … … 65 57 ) 66 58 67 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES}) 68 69 TARGET_LINK_LIBRARIES (tolua_orxonox 70 lua_orxonox 71 tolualib_orxonox 72 m 73 ) 59 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES} ${TOLUALIB_SRC_FILES}) 60 TARGET_LINK_LIBRARIES (tolua_orxonox ${LUA_LIBRARIES}) -
code/branches/buildsystem/src/tolua/tolua++.h
r1810 r1975 65 65 typedef int lua_Object; 66 66 67 #include "lua /lua.h"68 #include "l ua/lauxlib.h"67 #include "lua.h" 68 #include "lauxlib.h" 69 69 70 70 struct tolua_Error -
code/branches/buildsystem/src/tolua/tolua.c
r1810 r1975 15 15 #include "tolua++.h" 16 16 17 #include "lua /lua.h"18 #include "lua /lualib.h"19 #include "l ua/lauxlib.h"17 #include "lua.h" 18 #include "lualib.h" 19 #include "lauxlib.h" 20 20 21 21 #include <stdio.h> -
code/branches/buildsystem/src/tolua/tolua_is.c
r1810 r1975 14 14 15 15 #include "tolua++.h" 16 #include "l ua/lauxlib.h"16 #include "lauxlib.h" 17 17 18 18 #include <stdlib.h> -
code/branches/buildsystem/src/tolua/tolua_map.c
r1810 r1975 15 15 #include "tolua++.h" 16 16 #include "tolua_event.h" 17 #include "l ua/lauxlib.h"17 #include "lauxlib.h" 18 18 19 19 #include <string.h> -
code/branches/buildsystem/src/tolua/tolua_push.c
r1810 r1975 14 14 15 15 #include "tolua++.h" 16 #include "l ua/lauxlib.h"16 #include "lauxlib.h" 17 17 18 18 #include <stdlib.h>
Note: See TracChangeset
for help on using the changeset viewer.