Changeset 8351 for code/trunk/src/external/tolua
- Timestamp:
- Apr 28, 2011, 7:15:14 AM (14 years ago)
- Location:
- code/trunk/src/external/tolua
- Files:
-
- 8 deleted
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/tolua/CMakeLists.txt
r7163 r8351 18 18 # 19 19 20 ################### Tolua++ library ###################21 22 SET_SOURCE_FILES(TOLUA_FILES23 tolua_event.h24 tolua++.h25 COMPILATION_BEGIN ToluaCompilation.c26 tolua_event.c27 tolua_is.c28 tolua_map.c29 tolua_push.c30 tolua_to.c31 COMPILATION_END32 )33 34 ORXONOX_ADD_LIBRARY(tolua_orxonox35 ORXONOX_EXTERNAL36 DEFINE_SYMBOL37 "TOLUA_SHARED_BUILD"38 VERSION39 1.0.9240 LINK_LIBRARIES41 ${LUA_LIBRARIES}42 SOURCE_FILES43 ${TOLUA_FILES}44 )45 46 47 20 ################## Tolua++ generator ################## 48 21 … … 53 26 NO_INSTALL 54 27 LINK_LIBRARIES 55 ${LUA _LIBRARIES}28 ${LUA5.1_LIBRARY} 56 29 SOURCE_FILES 57 30 tolua.c … … 59 32 60 33 # Set some variables to the cache in order to use them in the TOLUA macro 61 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/all- ${LUA_VERSION}.lua" CACHE INTERNAL "")34 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/all-5.1.lua" CACHE INTERNAL "") 62 35 SET(TOLUA_PARSER_DEPENDENCIES 63 36 toluaapp_orxonox 64 ${CMAKE_CURRENT_SOURCE_DIR}/all- ${LUA_VERSION}.lua37 ${CMAKE_CURRENT_SOURCE_DIR}/all-5.1.lua 65 38 ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua 66 39 ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat.lua -
code/trunk/src/external/tolua/VERSION
r5738 r8351 1 Tolua++ v1.0.92 with changes:1 Tolua++ v1.0.92 (generator application only) with changes: 2 2 3 3 - Exception handling by CEGUI team -
code/trunk/src/external/tolua/changes_orxonox.diff
r5738 r8351 1 diff -ruN tolua/tolua++.h tolua2/tolua++.h2 --- tolua/tolua++.h Wed Jan 28 21:51:38 20093 +++ tolua2/tolua++.h Sat Jan 10 14:48:44 20094 @@ -16,9 +16,34 @@5 #ifndef TOLUA_H6 #define TOLUA_H7 8 +/* original code */9 +/*10 #ifndef TOLUA_API11 #define TOLUA_API extern12 #endif13 +*/14 +15 +/********************************16 +******* ORXONOX CHANGES *********17 +********************************/18 +19 +#if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined( TOLUA_STATIC_BUILD )20 +# ifdef TOLUA_SHARED_BUILD21 +# define TOLUA_API __declspec(dllexport)22 +# else23 +# if defined( __MINGW32__ )24 +# define TOLUA_API25 +# else26 +# define TOLUA_API __declspec(dllimport)27 +# endif28 +# endif29 +#else30 +# define TOLUA_API extern31 +#endif32 +33 +/********************************34 +****** END ORXONOX CHANGES ******35 +********************************/36 37 #define TOLUA_VERSION "tolua++-1.0.92"38 39 1 diff -ruN tolua/tolua.c tolua2/tolua.c 40 2 --- tolua/tolua.c Wed Jan 28 21:51:00 2009 -
code/trunk/src/external/tolua/lua/package.lua
r5752 r8351 124 124 output('#endif\n') 125 125 output('#include <string.h>\n\n') 126 output('#include <tolua /tolua++.h>\n\n')126 output('#include <tolua++.h>\n\n') 127 127 128 128 if flags.H then
Note: See TracChangeset
for help on using the changeset viewer.