Changeset 7941 for code/branches/kicklib/src
- Timestamp:
- Feb 20, 2011, 10:49:06 PM (14 years ago)
- Location:
- code/branches/kicklib/src
- Files:
-
- 1 added
- 8 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/CMakeLists.txt
r7819 r7941 42 42 ADD_COMPILER_FLAGS("-DZLIB_DLL" WIN32 LINK_ZLIB_DYNAMIC) 43 43 # If no defines are specified, these libs get linked dynamically 44 ADD_COMPILER_FLAGS("-DCEGUI_STATIC "WIN32 NOT LINK_CEGUI_DYNAMIC)44 ADD_COMPILER_FLAGS("-DCEGUI_STATIC -DTOLUA_STATIC" WIN32 NOT LINK_CEGUI_DYNAMIC) 45 45 ADD_COMPILER_FLAGS("-DOGRE_STATIC_LIB" WIN32 NOT LINK_OGRE_DYNAMIC) 46 46 ADD_COMPILER_FLAGS("-DSTATIC_BUILD" WIN32 NOT LINK_TCL_DYNAMIC) … … 60 60 ENDIF() 61 61 # If no defines are specified, these libs get linked dynamically 62 ADD_COMPILER_FLAGS("-DCEGUILUA_STATIC" WIN32 NOT _external_shared_link)63 62 ADD_COMPILER_FLAGS("-DENET_DLL" WIN32 _external_shared_link) 64 63 ADD_COMPILER_FLAGS("-DOGRE_GUIRENDERER_STATIC_LIB" WIN32 NOT _external_shared_link) 65 64 ADD_COMPILER_FLAGS("-DOIS_STATIC_LIB" WIN32 NOT _external_shared_link) 66 ADD_COMPILER_FLAGS("-DTOLUA_STATIC_BUILD" WIN32 NOT _external_shared_link)67 65 68 66 ############## Include Directories ############## … … 95 93 ${CMAKE_CURRENT_BINARY_DIR} 96 94 ) 97 98 IF(CEGUILUA_USE_INTERNAL_LIBRARY)99 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/external/ceguilua/ceguilua-${CEGUI_VERSION})100 ENDIF()101 95 102 96 IF (DBGHELP_FOUND) -
code/branches/kicklib/src/SpecialConfig.h.in
r7818 r7941 41 41 42 42 #include "OrxonoxConfig.h" 43 44 #cmakedefine CEGUILUA_USE_INTERNAL_LIBRARY ///< Set whether we must suffix "ceguilua/" for the CEGUILua.h include45 43 46 44 #cmakedefine DEPENDENCY_PACKAGE_ENABLE ///< Defined if a precompiled depdency package was used. We then copy all libraries too when installing. -
code/branches/kicklib/src/external/CMakeLists.txt
r7459 r7941 21 21 22 22 ADD_SUBDIRECTORY(tolua) 23 24 # Include CEGUILua if not requested otherwise25 IF(CEGUILUA_USE_INTERNAL_LIBRARY)26 IF(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ceguilua/ceguilua-${CEGUI_VERSION})27 MESSAGE(FATAL_ERROR "CEGUILua version not found in src folder. Update list of supported versions in LibraryConfig.cmake!")28 ENDIF()29 30 ADD_SUBDIRECTORY(ceguilua)31 SET(CEGUILUA_LIBRARY ${CEGUILUA_LIBRARY} PARENT_SCOPE)32 ENDIF()33 34 23 ADD_SUBDIRECTORY(bullet) 35 24 ADD_SUBDIRECTORY(cpptcl) -
code/branches/kicklib/src/external/tolua/CMakeLists.txt
r7163 r7941 17 17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 18 # 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 19 47 20 ################## Tolua++ generator ################## -
code/branches/kicklib/src/external/tolua/VERSION
r5738 r7941 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/branches/kicklib/src/external/tolua/changes_orxonox.diff
r5738 r7941 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/branches/kicklib/src/external/tolua/lua/package.lua
r5752 r7941 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 -
code/branches/kicklib/src/libraries/core/CMakeLists.txt
r7284 r7941 93 93 ${CEGUI_LIBRARY} 94 94 ${CEGUILUA_LIBRARY} 95 ${CEGUI_TOLUA_LIBRARY} 95 96 ${LUA_LIBRARIES} 96 97 cpptcl_orxonox … … 98 99 ois_orxonox 99 100 tinyxml_orxonox 100 tolua_orxonox101 101 util 102 102 SOURCE_FILES -
code/branches/kicklib/src/libraries/core/GUIManager.cc
r7939 r7941 30 30 #include "GUIManager.h" 31 31 32 #include <memory> 32 33 #include <boost/bind.hpp> 33 #include <memory>34 34 35 35 #include <CEGUIDefaultLogger.h> … … 43 43 #include <elements/CEGUIListbox.h> 44 44 #include <elements/CEGUIListboxItem.h> 45 46 #include <CEGUILua.h> 45 47 #include <ogreceguirenderer/OgreCEGUIRenderer.h> 46 47 #include "SpecialConfig.h" // Configures the macro below48 #ifdef CEGUILUA_USE_INTERNAL_LIBRARY49 # include <ceguilua/CEGUILua.h>50 #else51 # include <CEGUILua.h>52 #endif53 48 54 49 #include "util/Clock.h" -
code/branches/kicklib/src/libraries/core/LuaState.cc
r7284 r7941 30 30 #include "LuaState.h" 31 31 32 #include <tolua /tolua++.h>32 #include <tolua++.h> 33 33 extern "C" { 34 34 #include <lua.h> -
code/branches/kicklib/src/orxonox/CMakeLists.txt
r7648 r7941 78 78 ${VORBIS_LIBRARY} 79 79 ${OGG_LIBRARY} 80 ${CEGUI_TOLUA_LIBRARY} 80 81 tinyxml_orxonox 81 tolua_orxonox82 82 bullet_orxonox 83 83 util
Note: See TracChangeset
for help on using the changeset viewer.