Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 20, 2008, 5:53:16 PM (16 years ago)
Author:
adrfried
Message:

lua removed and using extern one

Location:
code/branches/buildsystem/src/tolua
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/tolua/CMakeLists.txt

    r1882 r1975  
     1# TODO: only build the object files once
     2
    13SET (TOLUALIB_SRC_FILES
    24  tolua_event.c
     
    810
    911ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
    10 
    11 TARGET_LINK_LIBRARIES (tolualib_orxonox
    12   lua_orxonox
    13 )
    14 
     12TARGET_LINK_LIBRARIES (tolualib_orxonox ${LUA_LIBRARIES})
    1513
    1614SET (TOLUAGEN_SRC_FILES
     
    1917)
    2018
    21 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES})
    22 
    23 TARGET_LINK_LIBRARIES (toluagen_orxonox
    24   lua_orxonox
    25   tolualib_orxonox
    26   m
    27 )
    28 
     19ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES} ${TOLUALIB_SRC_FILES})
     20TARGET_LINK_LIBRARIES (toluagen_orxonox ${LUA_LIBRARIES})
    2921
    3022SET (TOLUA_PACKAGE "${CMAKE_CURRENT_SOURCE_DIR}/tolua-5.1.pkg")
     
    6557)
    6658
    67 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES})
    68 
    69 TARGET_LINK_LIBRARIES (tolua_orxonox
    70   lua_orxonox
    71   tolualib_orxonox
    72   m
    73 )
     59ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES} ${TOLUALIB_SRC_FILES})
     60TARGET_LINK_LIBRARIES (tolua_orxonox ${LUA_LIBRARIES})
  • code/branches/buildsystem/src/tolua/tolua++.h

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

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

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

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

    r1810 r1975  
    1414
    1515#include "tolua++.h"
    16 #include "lua/lauxlib.h"
     16#include "lauxlib.h"
    1717
    1818#include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.