Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 9:05:10 PM (16 years ago)
Author:
rgrieder
Message:

Merged revisions 2279-2401 of the buildsystem branch to buildsystem2.

Location:
code/branches/buildsystem2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2

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

    r2509 r2510  
    1 SET(TOLUALIB_SRC_FILES
     1ADD_LIBRARY(tolualib_orxonox STATIC
    22  tolua_event.c
    33  tolua_is.c
     
    77)
    88
    9 ADD_LIBRARY          (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
    109TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARIES})
    1110
     11#INSTALL(TARGETS tolualib_orxonox LIBRARY DESTINATION lib)
    1212
    1313SET(TOLUAGEN_SRC_FILES
     
    1515)
    1616
    17 ADD_EXECUTABLE       (toluaexe_orxonox ${TOLUAGEN_SRC_FILES})
     17ADD_EXECUTABLE(toluaexe_orxonox ${TOLUAGEN_SRC_FILES})
    1818TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES})
    1919
    20 # TODO: determine lua version and set appropriate pack file
    21 SET(TOLUA_ALL_PACK all-5.1.lua)
     20#IF("${LUA_VERSION}" VERSION_LESS 5.1)
     21IF("${LUA_VERSION}" MATCHES "^5.0")
     22  SET(TOLUA_ALL_PACK all-5.0.lua)
     23#ELSE("${LUA_VERSION}" VERSION_LESS 5.1)
     24ELSE("${LUA_VERSION}" MATCHES "^5.0")
     25  SET(TOLUA_ALL_PACK all-5.1.lua)
     26#ENDIF("${LUA_VERSION}" VERSION_LESS 5.1)
     27ENDIF("${LUA_VERSION}" MATCHES "^5.0")
     28
    2229SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
    2330SET(TOLUA_PARSER_DEPENDENCIES
  • code/branches/buildsystem2/src/tolua/all-5.0.lua

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/src/tolua/all-5.1.lua

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