Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/tolua/CMakeLists.txt @ 2509

Last change on this file since 2509 was 2509, checked in by rgrieder, 15 years ago

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

  • Property svn:eol-style set to native
File size: 1.6 KB
RevLine 
[2509]1SET(TOLUALIB_SRC_FILES
[1505]2  tolua_event.c
3  tolua_is.c
4  tolua_map.c
5  tolua_push.c
6  tolua_to.c
7)
8
[2509]9ADD_LIBRARY          (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
10TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARIES})
[1505]11
12
[2509]13SET(TOLUAGEN_SRC_FILES
[1505]14  tolua.c
15)
16
[2509]17ADD_EXECUTABLE       (toluaexe_orxonox ${TOLUAGEN_SRC_FILES})
18TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES})
[1755]19
[2509]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)
23SET(TOLUA_PARSER_DEPENDENCIES
24  ${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}
25  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua
26  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat.lua
27  ${CMAKE_CURRENT_SOURCE_DIR}/lua/basic.lua
28  ${CMAKE_CURRENT_SOURCE_DIR}/lua/feature.lua
29  ${CMAKE_CURRENT_SOURCE_DIR}/lua/verbatim.lua
30  ${CMAKE_CURRENT_SOURCE_DIR}/lua/code.lua
31  ${CMAKE_CURRENT_SOURCE_DIR}/lua/typedef.lua
32  ${CMAKE_CURRENT_SOURCE_DIR}/lua/container.lua
33  ${CMAKE_CURRENT_SOURCE_DIR}/lua/package.lua
34  ${CMAKE_CURRENT_SOURCE_DIR}/lua/module.lua
35  ${CMAKE_CURRENT_SOURCE_DIR}/lua/namespace.lua
36  ${CMAKE_CURRENT_SOURCE_DIR}/lua/define.lua
37  ${CMAKE_CURRENT_SOURCE_DIR}/lua/enumerate.lua
38  ${CMAKE_CURRENT_SOURCE_DIR}/lua/declaration.lua
39  ${CMAKE_CURRENT_SOURCE_DIR}/lua/variable.lua
40  ${CMAKE_CURRENT_SOURCE_DIR}/lua/array.lua
41  ${CMAKE_CURRENT_SOURCE_DIR}/lua/function.lua
42  ${CMAKE_CURRENT_SOURCE_DIR}/lua/operator.lua
43  ${CMAKE_CURRENT_SOURCE_DIR}/lua/class.lua
44  ${CMAKE_CURRENT_SOURCE_DIR}/lua/clean.lua
45  ${CMAKE_CURRENT_SOURCE_DIR}/lua/doit.lua
[1755]46
[2509]47  PARENT_SCOPE
[1755]48)
Note: See TracBrowser for help on using the repository browser.