Changeset 1804 for code/branches/ceguilua/src/tolua
- Timestamp:
- Sep 21, 2008, 5:10:08 PM (16 years ago)
- Location:
- code/branches/ceguilua/src/tolua
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ceguilua/src/tolua/CMakeLists.txt
r1755 r1804 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 ) … … 34 34 ENDIF (Lua_VERSION EQUAL 5.0) 35 35 36 GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen LOCATION)36 GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen_orxonox LOCATION) 37 37 ADD_CUSTOM_COMMAND( 38 38 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/toluabind_orxonox.c 39 39 COMMAND ${TOLUAGEN_EXE} -n tolua -o ../../src/tolua/toluabind_orxonox.c -H ../../src/tolua/toluabind_orxonox.h ${TOLUA_PACKAGE} 40 DEPENDS toluagen 40 DEPENDS toluagen_orxonox 41 41 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 42 42 ) … … 47 47 ) 48 48 49 ADD_EXECUTABLE (tolua ${TOLUAEXE_SRC_FILES})49 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES}) 50 50 51 TARGET_LINK_LIBRARIES (tolua 52 ${Lua_LIBRARIES}53 tolualib 51 TARGET_LINK_LIBRARIES (tolua_orxonox 52 lua_orxonox 53 tolualib_orxonox 54 54 m 55 55 ) -
code/branches/ceguilua/src/tolua/lua/package.lua
r1755 r1804 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/branches/ceguilua/src/tolua/tolua++.h
r1755 r1804 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/branches/ceguilua/src/tolua/tolua.c
r1505 r1804 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/branches/ceguilua/src/tolua/tolua_is.c
r1505 r1804 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/branches/ceguilua/src/tolua/tolua_map.c
r1505 r1804 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/branches/ceguilua/src/tolua/tolua_push.c
r1505 r1804 14 14 15 15 #include "tolua++.h" 16 #include "l auxlib.h"16 #include "lua/lauxlib.h" 17 17 18 18 #include <stdlib.h>
Note: See TracChangeset
for help on using the changeset viewer.