Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2275


Ignore:
Timestamp:
Nov 26, 2008, 4:31:35 PM (16 years ago)
Author:
adrfried
Message:

prepared tolua for different lua versions

Location:
code/branches/buildsystem/src/tolua
Files:
1 edited
1 copied
1 moved

Legend:

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

    r2236 r2275  
    1818TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES})
    1919
    20 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/all.lua" PARENT_SCOPE)
     20# TODO: determine lua version and set appropriate pack file
     21SET(TOLUA_ALL_PACK all-5.1.lua)
     22SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
    2123SET(TOLUA_PARSER_DEPENDENCIES
    22   ${CMAKE_CURRENT_SOURCE_DIR}/all.lua
     24  ${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}
    2325  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua
    2426  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat.lua
  • code/branches/buildsystem/src/tolua/all-5.0.lua

    r2260 r2275  
    1 dofile(path.."lua/compat-5.1.lua")
    21dofile(path.."lua/compat.lua")
    32dofile(path.."lua/basic.lua")
Note: See TracChangeset for help on using the changeset viewer.