Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 8:59:48 PM (16 years ago)
Author:
rgrieder
Message:

Merged revisions 1875-2278 of the buildsystem branch to buildsystem2.

Location:
code/branches/buildsystem2
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2

  • code/branches/buildsystem2/src/core/CMakeLists.txt

    r2131 r2509  
    4242  TclThreadManager.cc
    4343
    44   tolua/tolua_bind.cc
    4544)
    4645
    4746ADD_SOURCE_DIRECTORY(CORE_SRC_FILES input)
    4847
    49 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
    50 ADD_CUSTOM_COMMAND(
    51   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
    52   COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
    53   DEPENDS
    54     tolua_orxonox
    55     tolua/tolua.pkg
    56     LuaBind.h
    57     CommandExecutor.h
    58   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    59 )
     48INCLUDE(UseTolua)
     49TOLUA(Core CORE_SRC_FILES INPUTFILES LuaBind.h CommandExecutor.h)
    6050
    6151ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
    6252
    6353TARGET_LINK_LIBRARIES(core
    64   ${OGRE_LIBRARIES}
    65   ${Boost_thread_LIBRARIES}
    66   ${Boost_filesystem_LIBRARIES}
    67   lua_orxonox
     54  ${OGRE_LIBRARY}
     55  ${Boost_THREAD_LIBRARY}
     56  ${Boost_FILESYSTEM_LIBRARY}
     57  ${LUA_LIBRARIES}
    6858  cpptcl_orxonox
    6959  ois_orxonox
  • code/branches/buildsystem2/src/core/CommandExecutor.h

    r1771 r2509  
    3636#include "CommandEvaluation.h"
    3737
    38 namespace orxonox // tolua_export
    39 { // tolua_export
     38// tolua_begin
     39namespace orxonox
     40{
    4041    class _CoreExport CommandExecutor
    41     /*
    42     class CommandExecutor { // tolua_export
    43     */
    4442    {
     43// tolua_end
    4544        public:
    4645            static bool execute(const std::string& command, bool useTcl = true); // tolua_export
  • code/branches/buildsystem2/src/core/LuaBind.cc

    • Property svn:mergeinfo set to (toggle deleted branches)
      /code/branches/buildsystem/src/core/Script.ccmergedeligible
      /code/branches/questsystem2/src/core/LuaBind.ccmergedeligible
      /code/branches/buildsystem/src/core/LuaBind.cc1874-2276
      /code/branches/ceguilua/src/core/LuaBind.cc1802-1808
      /code/branches/core3/src/core/LuaBind.cc1572-1739
      /code/branches/gcc43/src/core/LuaBind.cc1580
      /code/branches/gui/src/core/LuaBind.cc1635-1723
      /code/branches/input/src/core/LuaBind.cc1629-1636
      /code/branches/objecthierarchy/src/core/LuaBind.cc1911-2085,​2100,​2110-2169
      /code/branches/pickups/src/core/LuaBind.cc1926-2086
      /code/branches/questsystem/src/core/LuaBind.cc1894-2088
      /code/branches/script_trigger/src/core/LuaBind.cc1295-1953,​1955
      /code/branches/weapon/src/core/LuaBind.cc1925-2094
    r2087 r2509  
    3232#include <map>
    3333
    34 #include "lua/lua.hpp"
    35 #include "tolua/tolua++.h"
    36 #include "tolua/tolua_bind.h"
     34extern "C" {
     35#include "lua.h"
     36#include "lualib.h"
     37}
     38#include "tolua++.h"
     39#include "core/ToluaBindCore.h"
    3740#include "util/String.h"
    3841#include "CoreIncludes.h"
  • code/branches/buildsystem2/src/core/LuaBind.h

    • Property svn:mergeinfo set to (toggle deleted branches)
      /code/branches/buildsystem/src/core/Script.hmergedeligible
      /code/branches/questsystem2/src/core/LuaBind.hmergedeligible
      /code/branches/buildsystem/src/core/LuaBind.h1874-2276
      /code/branches/ceguilua/src/core/LuaBind.h1802-1808
      /code/branches/core3/src/core/LuaBind.h1572-1739
      /code/branches/gcc43/src/core/LuaBind.h1580
      /code/branches/gui/src/core/LuaBind.h1635-1723
      /code/branches/input/src/core/LuaBind.h1629-1636
      /code/branches/objecthierarchy/src/core/LuaBind.h1911-2085,​2100,​2110-2169
      /code/branches/pickups/src/core/LuaBind.h1926-2086
      /code/branches/questsystem/src/core/LuaBind.h1894-2088
      /code/branches/script_trigger/src/core/LuaBind.h1295-1953,​1955
      /code/branches/weapon/src/core/LuaBind.h1925-2094
    r2087 r2509  
    3939
    4040extern "C" {
    41 #include <lua/lua.h>
     41#include <lua.h>
    4242}
    4343
     
    4545#include <string>
    4646
    47 namespace orxonox // tolua_export
    48 { // tolua_export
     47// tolua_begin
     48namespace orxonox
     49{
    4950  class _CoreExport LuaBind
    5051  {
    51   /*
    52   class LuaBind { // tolua_export
    53   */
     52
     53// tolua_end
    5454    struct LoadS {
    5555      const char *s;
  • code/branches/buildsystem2/src/core/XMLIncludes.h

    • Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset for help on using the changeset viewer.