Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1804


Ignore:
Timestamp:
Sep 21, 2008, 5:10:08 PM (16 years ago)
Author:
rgrieder
Message:

Implemented lua and ceguilua as far as it works now with visual studio. Next (not so big) step is to integrate it in CMake (already did the most part).

Location:
code/branches/ceguilua
Files:
5 added
30 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ceguilua/CMakeLists.txt

    r1776 r1804  
    7878FIND_PACKAGE(OggVorbis)
    7979FIND_PACKAGE(ZLIB)
    80 FIND_PACKAGE(Lua)
     80#FIND_PACKAGE(Lua)
    8181FIND_PACKAGE(TCL)
    8282FIND_PACKAGE(DirectX)
     
    8686  ${OGRE_LIB_DIR}
    8787  ${CEGUI_LIB_DIR}
    88   ${CEGUI_SCRIPT_LIB_DIR}
     88#  ${CEGUI_SCRIPT_LIB_DIR}
    8989#  ${CEGUI_OGRE_LIB_DIR}
    9090  ${ENet_LIBRARY}
     
    105105  ${VORBIS_INCLUDE_DIR}
    106106  ${OGG_INCLUDE_DIR}
    107   ${Lua_INCLUDE_DIR}
     107#  ${Lua_INCLUDE_DIR}
    108108  ${TCL_INCLUDE_PATH}
    109109  ${DirectX_INCLUDE_DIR}
  • code/branches/ceguilua/src/CMakeLists.txt

    r1803 r1804  
    22INCLUDE_DIRECTORIES(..)
    33INCLUDE_DIRECTORIES(orxonox)
    4 INCLUDE_DIRECTORIES(tolua)
     4#INCLUDE_DIRECTORIES(tolua)
    55
    66ADD_SUBDIRECTORY(cpptcl)
    77ADD_SUBDIRECTORY(ois)
    88ADD_SUBDIRECTORY(tinyxml)
     9
     10# This section deals with Lua version problems because CEGUILua scripting
     11# module for CEGUI also uses Lua, but maybe with a different version.
     12# So first, find out what CEGUI version we have.
     13
     14
    915ADD_SUBDIRECTORY(tolua)
    1016
     
    1420ADD_SUBDIRECTORY(network)
    1521ADD_SUBDIRECTORY(orxonox)
    16 
    17 # This section deals with Lua version problems because CEGUILua scripting
    18 # module for CEGUI also uses Lua, but maybe with a different version.
    19 # So first, find out what CEGUI version we have.
  • code/branches/ceguilua/src/ceguilua-0.5.0b/ceguilua/CMakeLists.txt

    r1803 r1804  
    99
    1010ADD_LIBRARY( ceguilua_orxonox SHARED ${LUA_SRC_FILES} )
     11
     12TARGET_LINK_LIBRARIES( ceguilua_orxonox lua_orxonox )
  • code/branches/ceguilua/src/ceguilua-0.6.1/ceguilua/CEGUILua.cpp

    r1803 r1804  
    2828 *   OTHER DEALINGS IN THE SOFTWARE.
    2929 ***************************************************************************/
    30 #ifdef HAVE_CONFIG_H
    31 #   include "config.h"
    32 #endif
    3330
    3431#include "CEGUI.h"
     
    4037
    4138// include Lua libs and tolua++
    42 extern "C" {
    43 #include "lua.h"
    44 #include "lualib.h"
    45 #include "lauxlib.h"
    46 }
    47 
    48 #include "tolua++.h"
     39#include "lua/lua.hpp"
     40#include "tolua/tolua++.h"
    4941
    5042// prototype for bindings initialisation function
     
    6153LuaScriptModule::LuaScriptModule()
    6254{
    63     #if CEGUI_LUA_VER >= 51
    64         static const luaL_Reg lualibs[] = {
    65             {"", luaopen_base},
    66             {LUA_LOADLIBNAME, luaopen_package},
    67             {LUA_TABLIBNAME, luaopen_table},
    68             {LUA_IOLIBNAME, luaopen_io},
    69             {LUA_OSLIBNAME, luaopen_os},
    70             {LUA_STRLIBNAME, luaopen_string},
    71             {LUA_MATHLIBNAME, luaopen_math},
    72         #if defined(DEBUG) || defined (_DEBUG)
    73                 {LUA_DBLIBNAME, luaopen_debug},
    74         #endif
    75             {0, 0}
    76         };
    77     #endif /* CEGUI_LUA_VER >= 51 */
     55    static const luaL_Reg lualibs[] = {
     56        {"", luaopen_base},
     57        {LUA_LOADLIBNAME, luaopen_package},
     58        {LUA_TABLIBNAME, luaopen_table},
     59        {LUA_IOLIBNAME, luaopen_io},
     60        {LUA_OSLIBNAME, luaopen_os},
     61        {LUA_STRLIBNAME, luaopen_string},
     62        {LUA_MATHLIBNAME, luaopen_math},
     63    #if defined(DEBUG) || defined (_DEBUG)
     64        {LUA_DBLIBNAME, luaopen_debug},
     65    #endif
     66        {0, 0}
     67    };
    7868
    7969    // create a lua state
     
    8272
    8373    // init all standard libraries
    84     #if CEGUI_LUA_VER >= 51
    85             const luaL_Reg *lib = lualibs;
    86             for (; lib->func; lib++)
    87             {
    88                 lua_pushcfunction(d_state, lib->func);
    89                 lua_pushstring(d_state, lib->name);
    90                 lua_call(d_state, 1, 0);
    91             }
    92     #else /* CEGUI_LUA_VER >= 51 */
    93         luaopen_base(d_state);
    94         luaopen_io(d_state);
    95         luaopen_string(d_state);
    96         luaopen_table(d_state);
    97         luaopen_math(d_state);
    98         #if defined(DEBUG) || defined (_DEBUG)
    99             luaopen_debug(d_state);
    100         #endif
    101     #endif /* CEGUI_LUA_VER >= 51 */
     74    const luaL_Reg *lib = lualibs;
     75    for (; lib->func; lib++)
     76    {
     77        lua_pushcfunction(d_state, lib->func);
     78        lua_pushstring(d_state, lib->name);
     79        lua_call(d_state, 1, 0);
     80    }
    10281
    10382    setModuleIdentifierString();
  • code/branches/ceguilua/src/ceguilua-0.6.1/ceguilua/CEGUILuaFunctor.cpp

    r1803 r1804  
    3434
    3535// include Lua libs and tolua++
    36 extern "C" {
    37 #include "lua.h"
    38 #include "lualib.h"
    39 #include "lauxlib.h"
    40 }
    41 
    42 #include "tolua++.h"
     36#include "lua/lua.hpp"
     37#include "tolua/tolua++.h"
    4338
    4439// Start of CEGUI namespace section
  • code/branches/ceguilua/src/ceguilua-0.6.1/ceguilua/CMakeLists.txt

    r1803 r1804  
    99
    1010ADD_LIBRARY( ceguilua_orxonox SHARED ${LUA_SRC_FILES} )
     11
     12TARGET_LINK_LIBRARIES( ceguilua_orxonox lua_orxonox )
  • code/branches/ceguilua/src/ceguilua-0.6.1/ceguilua/lua_CEGUI.cpp

    r1803 r1804  
    99#include "string.h"
    1010
    11 #include "tolua++.h"
     11#include "tolua/tolua++.h"
    1212
    1313/* Exported function */
  • code/branches/ceguilua/src/core/CMakeLists.txt

    r1764 r1804  
    6565
    6666TARGET_LINK_LIBRARIES(core
    67   ${Lua_LIBRARIES}
    6867  ${OGRE_LIBRARIES}
    69   cpptcl
     68  lua_orxonox
     69  cpptcl_orxonox
    7070  ois_orxonox
    71   tinyxml
    72   tolualib
     71  tinyxml_orxonox
     72  tolualib_orxonox
    7373  util
    7474  ${Boost_thread_LIBRARIES}
  • code/branches/ceguilua/src/core/Script.cc

    r1755 r1804  
    3434#include "CoreIncludes.h"
    3535
    36 extern "C" {
    37 #include <lualib.h>
    38 #include <lauxlib.h>
    39 }
     36#include "lua/lua.hpp"
    4037
    4138#include "tolua/tolua++.h"
  • code/branches/ceguilua/src/core/Script.h

    r1755 r1804  
    3939
    4040extern "C" {
    41 #include <lua.h>
     41#include "lua/lua.h"
    4242}
    4343
  • code/branches/ceguilua/src/cpptcl/CMakeLists.txt

    r1505 r1804  
    1 ADD_LIBRARY(cpptcl SHARED CppTcl.cc)
     1ADD_LIBRARY(cpptcl_orxonox SHARED CppTcl.cc)
    22
    3 TARGET_LINK_LIBRARIES(cpptcl
     3TARGET_LINK_LIBRARIES(cpptcl_orxonox
    44  ${TCL_LIBRARY}
    55)
  • code/branches/ceguilua/src/orxonox/CMakeLists.txt

    r1755 r1804  
    9797TARGET_LINK_LIBRARIES( orxonox
    9898  ${OGRE_LIBRARIES}
    99   ${Lua_LIBRARIES}
    10099  ${CEGUI_LIBRARIES}
    101100  ${CEGUI_SCRIPT_LIBRARIES}
    102   tinyxml
    103   tolualib
     101  lua_orxonox
     102  tinyxml_orxonox
     103  tolualib_orxonox
    104104  ois_orxonox
    105105  util
  • code/branches/ceguilua/src/orxonox/OrxonoxStableHeaders.h

    r1781 r1804  
    3737#include "util/OrxonoxPlatform.h"
    3838
    39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH) && 0
     39#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH)
    4040
    4141// including std headers here is useless since they're already precompiled
  • code/branches/ceguilua/src/orxonox/gui/GUIManager.cc

    r1776 r1804  
    3939#include <OgreRoot.h>
    4040#include <CEGUI.h>
    41 #include <CEGUILua.h>
     41#include "ceguilua/CEGUILua.h"
    4242#include "util/Exception.h"
    4343#include "core/input/InputManager.h"
     
    5050#include "OgreCEGUIRenderer.h"
    5151
    52 extern "C" {
    53 #include <lualib.h>
    54 #include <lauxlib.h>
    55 }
     52#include "lua/lua.hpp"
    5653
    5754namespace orxonox
  • code/branches/ceguilua/src/tinyxml/CMakeLists.txt

    r1505 r1804  
    77)
    88
    9 ADD_LIBRARY(tinyxml SHARED ${TINYXML_SRC_FILES})
     9ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES})
  • code/branches/ceguilua/src/tolua/CMakeLists.txt

    r1755 r1804  
    77)
    88
    9 ADD_LIBRARY (tolualib SHARED ${TOLUALIB_SRC_FILES})
     9ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
    1010
    11 TARGET_LINK_LIBRARIES (tolualib
    12   ${Lua_LIBRARIES}
     11TARGET_LINK_LIBRARIES (tolualib_orxonox
     12  lua_orxonox
    1313)
    1414
     
    1919)
    2020
    21 ADD_EXECUTABLE (toluagen ${TOLUAGEN_SRC_FILES})
     21ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES})
    2222
    23 TARGET_LINK_LIBRARIES (toluagen
    24   ${Lua_LIBRARIES}
    25   tolualib
     23TARGET_LINK_LIBRARIES (toluagen_orxonox
     24  lua_orxonox
     25  tolualib_orxonox
    2626  m
    2727)
     
    3434ENDIF (Lua_VERSION EQUAL 5.0)
    3535
    36 GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen LOCATION)
     36GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen_orxonox LOCATION)
    3737ADD_CUSTOM_COMMAND(
    3838  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/toluabind_orxonox.c
    3939  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
    4141  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    4242)
     
    4747)
    4848
    49 ADD_EXECUTABLE (tolua ${TOLUAEXE_SRC_FILES})
     49ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES})
    5050
    51 TARGET_LINK_LIBRARIES (tolua
    52   ${Lua_LIBRARIES}
    53   tolualib
     51TARGET_LINK_LIBRARIES (tolua_orxonox
     52  lua_orxonox
     53  tolualib_orxonox
    5454  m
    5555)
  • code/branches/ceguilua/src/tolua/lua/package.lua

    r1755 r1804  
    116116        output('#endif\n')
    117117        output('#include "string.h"\n\n')
    118  output('#include "tolua++.h"\n\n')
     118 output('#include "tolua/tolua++.h"\n\n')
    119119
    120120 if not flags.h then
  • code/branches/ceguilua/src/tolua/tolua++.h

    r1755 r1804  
    6565typedef int lua_Object;
    6666
    67 #include "lua.h"
    68 #include "lauxlib.h"
     67#include "lua/lua.h"
     68#include "lua/lauxlib.h"
    6969
    7070struct tolua_Error
  • code/branches/ceguilua/src/tolua/tolua.c

    r1505 r1804  
    1515#include "tolua++.h"
    1616
    17 #include "lua.h"
    18 #include "lualib.h"
    19 #include "lauxlib.h"
     17#include "lua/lua.h"
     18#include "lua/lualib.h"
     19#include "lua/lauxlib.h"
    2020
    2121#include <stdio.h>
  • code/branches/ceguilua/src/tolua/tolua_is.c

    r1505 r1804  
    1414
    1515#include "tolua++.h"
    16 #include "lauxlib.h"
     16#include "lua/lauxlib.h"
    1717
    1818#include <stdlib.h>
  • code/branches/ceguilua/src/tolua/tolua_map.c

    r1505 r1804  
    1515#include "tolua++.h"
    1616#include "tolua_event.h"
    17 #include "lauxlib.h"
     17#include "lua/lauxlib.h"
    1818
    1919#include <string.h>
  • code/branches/ceguilua/src/tolua/tolua_push.c

    r1505 r1804  
    1414
    1515#include "tolua++.h"
    16 #include "lauxlib.h"
     16#include "lua/lauxlib.h"
    1717
    1818#include <stdlib.h>
  • code/branches/ceguilua/visual_studio/base_properties.vsprops

    r1755 r1804  
    88        <Tool
    99                Name="VCCLCompilerTool"
    10                 AdditionalIncludeDirectories="&quot;$(RootDir)&quot;;&quot;$(RootDir)src&quot;;&quot;$(RootDir)src\orxonox&quot;;&quot;$(RootDir)src\tolua&quot;;&quot;$(RootDir)src\ois&quot;;&quot;$(LibDir)ogre-1.4.9\OgreMain\include&quot;;&quot;$(LibDir)boost-1.35.0&quot;;&quot;$(LibDir)cegui-0.6.1\include&quot;;&quot;$(LibDir)cegui-0.6.1\ScriptingModules\CEGUILua\LuaScriptModule\include&quot;;&quot;$(LibDir)enet-1.2\include&quot;;&quot;$(LibDir)libogg-1.1.3\include&quot;;&quot;$(LibDir)libvorbis-1.2.0\include&quot;;&quot;$(LibDir)lua-5.1.3\src&quot;;&quot;$(LibDir)openal-1.1\include&quot;;&quot;$(LibDir)openal-1.1\alut\include&quot;;&quot;$(LibDir)tcl-8.5.\generic&quot;;&quot;$(LibDir)zlib-1.2.3&quot;"
    11                 PreprocessorDefinitions="WIN32;__WIN32__;_WIN32;BOOST_ALL_DYN_LINK;OIS_DYNAMIC_LIB; ZLIB_WINAPI"
     10                AdditionalIncludeDirectories="&quot;$(RootDir)&quot;;&quot;$(RootDir)src&quot;;&quot;$(RootDir)src\orxonox&quot;;&quot;$(RootDir)src\lua-5.1.3&quot;;&quot;$(RootDir)src\ceguilua-0.6.1&quot;;&quot;$(LibDir)ogre-1.4.9\OgreMain\include&quot;;&quot;$(LibDir)boost-1.35.0&quot;;&quot;$(LibDir)cegui-0.6.1\include&quot;;&quot;$(LibDir)enet-1.2\include&quot;;&quot;$(LibDir)libogg-1.1.3\include&quot;;&quot;$(LibDir)libvorbis-1.2.0\include&quot;;&quot;$(LibDir)openal-1.1\include&quot;;&quot;$(LibDir)openal-1.1\alut\include&quot;;&quot;$(LibDir)tcl-8.5.\generic&quot;;&quot;$(LibDir)zlib-1.2.3&quot;"
     11                PreprocessorDefinitions="WIN32;__WIN32__;_WIN32;_WINDOWS;BOOST_ALL_DYN_LINK;OIS_DYNAMIC_LIB;ZLIB_WINAPI;LUA_BUILD_AS_DLL"
    1212                WarningLevel="3"
    1313                DisableSpecificWarnings="4522;4251;4800"
  • code/branches/ceguilua/visual_studio/core_properties.vsprops

    r1755 r1804  
    1313        <Tool
    1414                Name="VCLinkerTool"
    15                 AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib lua-5.1.3$(CS).lib"
     15                AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib"
    1616        />
    1717</VisualStudioPropertySheet>
  • code/branches/ceguilua/visual_studio/orxonox_properties.vsprops

    r1755 r1804  
    1515        <Tool
    1616                Name="VCLinkerTool"
    17                 AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib enet-1.2$(CS).lib zlib-1.2.3$(CS).lib CEGUILua$(CS).lib CEGUIBase$(CS).lib lua-5.1.3$(CS).lib"
     17                AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib enet-1.2$(CS).lib zlib-1.2.3$(CS).lib CEGUIBase$(CS).lib"
    1818                OutputFile="$(OutDir)$(ProjectName)$(CS).exe"
    19                 IgnoreDefaultLibraryNames="LIBCMT;LIBCMTD"
     19                IgnoreDefaultLibraryNames=""
    2020        />
    2121</VisualStudioPropertySheet>
  • code/branches/ceguilua/visual_studio/orxonox_vc8.sln

    r1755 r1804  
    99EndProject
    1010Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tolua", "vc8\tolua.vcproj", "{35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}"
     11        ProjectSection(ProjectDependencies) = postProject
     12                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
     13        EndProjectSection
    1114EndProject
    1215Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tolua_gen", "vc8\tolua_gen.vcproj", "{71FC0211-5EB5-4637-BE8A-A48EC3CC27D0}"
    1316        ProjectSection(ProjectDependencies) = postProject
    1417                {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
     18                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
    1519        EndProjectSection
    1620EndProject
     
    1822        ProjectSection(ProjectDependencies) = postProject
    1923                {71FC0211-5EB5-4637-BE8A-A48EC3CC27D0} = {71FC0211-5EB5-4637-BE8A-A48EC3CC27D0}
     24                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
    2025                {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
    2126        EndProjectSection
     
    2530Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "core", "vc8\core.vcproj", "{271715F3-5B90-4110-A552-70C788084A86}"
    2631        ProjectSection(ProjectDependencies) = postProject
     32                {A0724246-CB7C-420B-BCF0-68EF205AFE34} = {A0724246-CB7C-420B-BCF0-68EF205AFE34}
     33                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
     34                {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
     35                {53C56131-E2AA-4A27-B460-7AC05D61A0E6} = {53C56131-E2AA-4A27-B460-7AC05D61A0E6}
     36                {9CC704CB-4956-4479-BDEC-57CBC03F700E} = {9CC704CB-4956-4479-BDEC-57CBC03F700E}
     37                {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    2738                {F101C2F0-1CB9-4A57-827B-6C399A99B28F} = {F101C2F0-1CB9-4A57-827B-6C399A99B28F}
    28                 {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    29                 {9CC704CB-4956-4479-BDEC-57CBC03F700E} = {9CC704CB-4956-4479-BDEC-57CBC03F700E}
    30                 {53C56131-E2AA-4A27-B460-7AC05D61A0E6} = {53C56131-E2AA-4A27-B460-7AC05D61A0E6}
    31                 {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
    3239        EndProjectSection
    3340EndProject
    3441Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "audio", "vc8\audio.vcproj", "{4733BD1A-E04C-458D-8BFB-5010250EA497}"
    3542        ProjectSection(ProjectDependencies) = postProject
     43                {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    3644                {271715F3-5B90-4110-A552-70C788084A86} = {271715F3-5B90-4110-A552-70C788084A86}
    37                 {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    3845        EndProjectSection
    3946EndProject
    4047Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "network", "vc8\network.vcproj", "{35575B59-E1AE-40E8-89C4-2862B5B09B68}"
    4148        ProjectSection(ProjectDependencies) = postProject
     49                {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    4250                {271715F3-5B90-4110-A552-70C788084A86} = {271715F3-5B90-4110-A552-70C788084A86}
    43                 {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    4451        EndProjectSection
    4552EndProject
     
    4754        ProjectSection(ProjectDependencies) = postProject
    4855                {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
     56                {A0724246-CB7C-420B-BCF0-68EF205AFE34} = {A0724246-CB7C-420B-BCF0-68EF205AFE34}
     57                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
     58                {4733BD1A-E04C-458D-8BFB-5010250EA497} = {4733BD1A-E04C-458D-8BFB-5010250EA497}
     59                {35575B59-E1AE-40E8-89C4-2862B5B09B68} = {35575B59-E1AE-40E8-89C4-2862B5B09B68}
     60                {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
     61                {271715F3-5B90-4110-A552-70C788084A86} = {271715F3-5B90-4110-A552-70C788084A86}
    4962                {F101C2F0-1CB9-4A57-827B-6C399A99B28F} = {F101C2F0-1CB9-4A57-827B-6C399A99B28F}
    50                 {271715F3-5B90-4110-A552-70C788084A86} = {271715F3-5B90-4110-A552-70C788084A86}
    51                 {2240ECD7-2F48-4431-8E1B-25466A384CCC} = {2240ECD7-2F48-4431-8E1B-25466A384CCC}
    52                 {35575B59-E1AE-40E8-89C4-2862B5B09B68} = {35575B59-E1AE-40E8-89C4-2862B5B09B68}
    53                 {4733BD1A-E04C-458D-8BFB-5010250EA497} = {4733BD1A-E04C-458D-8BFB-5010250EA497}
     63                {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F} = {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}
     64        EndProjectSection
     65EndProject
     66Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua", "vc8\lua.vcproj", "{63B3E57A-4382-42F3-85EC-E869CFCCA88F}"
     67EndProject
     68Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ceguilua", "vc8\ceguilua.vcproj", "{4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}"
     69        ProjectSection(ProjectDependencies) = postProject
     70                {63B3E57A-4382-42F3-85EC-E869CFCCA88F} = {63B3E57A-4382-42F3-85EC-E869CFCCA88F}
     71                {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626} = {35E36A06-0A5C-4A0D-9AB6-5A05EAA87626}
    5472        EndProjectSection
    5573EndProject
     
    104122                {0B6C5CFD-F91B-432A-80A3-2610F61E060B}.Release|Win32.ActiveCfg = Release|Win32
    105123                {0B6C5CFD-F91B-432A-80A3-2610F61E060B}.Release|Win32.Build.0 = Release|Win32
     124                {63B3E57A-4382-42F3-85EC-E869CFCCA88F}.Debug|Win32.ActiveCfg = Debug|Win32
     125                {63B3E57A-4382-42F3-85EC-E869CFCCA88F}.Debug|Win32.Build.0 = Debug|Win32
     126                {63B3E57A-4382-42F3-85EC-E869CFCCA88F}.Release|Win32.ActiveCfg = Release|Win32
     127                {63B3E57A-4382-42F3-85EC-E869CFCCA88F}.Release|Win32.Build.0 = Release|Win32
     128                {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}.Debug|Win32.ActiveCfg = Debug|Win32
     129                {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}.Debug|Win32.Build.0 = Debug|Win32
     130                {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}.Release|Win32.ActiveCfg = Release|Win32
     131                {4BBBB49F-3203-4BB4-AAE3-48BCA96FCB4F}.Release|Win32.Build.0 = Release|Win32
    106132        EndGlobalSection
    107133        GlobalSection(SolutionProperties) = preSolution
  • code/branches/ceguilua/visual_studio/tolua_app_properties.vsprops

    r1755 r1804  
    1313        <Tool
    1414                Name="VCLinkerTool"
    15                 AdditionalDependencies="lua-5.1.3$(CS).lib"
    1615                OutputFile="$(OutDir)$(ProjectName)$(CS).exe"
    1716        />
  • code/branches/ceguilua/visual_studio/tolua_gen_properties.vsprops

    r1755 r1804  
    1212        <Tool
    1313                Name="VCLinkerTool"
    14                 AdditionalDependencies="lua-5.1.3$(CS).lib"
    1514                OutputFile="$(OutDir)$(ProjectName)$(CS).exe"
    1615        />
  • code/branches/ceguilua/visual_studio/tolua_properties.vsprops

    r1755 r1804  
    99                Name="VCCLCompilerTool"
    1010                PreprocessorDefinitions="TOLUA_SHARED_BUILD"
    11                 CompileAs="2"
     11                CompileAs="1"
    1212                DisableSpecificWarnings="4996"
    1313        />
    14         <Tool
    15                 Name="VCLinkerTool"
    16                 AdditionalDependencies="lua-5.1.3$(CS).lib"
    17         />
    1814</VisualStudioPropertySheet>
  • code/branches/ceguilua/visual_studio/vc8/core.vcproj

    r1764 r1804  
    208208                                                        Description="Generating tolua bind files..."
    209209                                                        CommandLine="&quot;$(OutDir)\tolua_app.exe&quot; -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg&#x0D;&#x0A;"
     210                                                        AdditionalDependencies=""
    210211                                                        Outputs="$(RootDir)\src\core\tolua\tolua_bind.cc; $(RootDir)\src\core\tolua\tolua_bind.h"
    211212                                                />
Note: See TracChangeset for help on using the changeset viewer.