Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/tolua/CMakeLists.txt @ 2138

Last change on this file since 2138 was 1809, checked in by rgrieder, 16 years ago

removed version specific lua folders
removed lua 5.0 package file int tolua/ folder
commented script section in FindCEGUI.cmake

  • Property svn:eol-style set to native
File size: 992 bytes
RevLine 
[1505]1SET (TOLUALIB_SRC_FILES
2  tolua_event.c
3  tolua_is.c
4  tolua_map.c
5  tolua_push.c
6  tolua_to.c
7)
8
[1804]9ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
[1505]10
[1804]11TARGET_LINK_LIBRARIES (tolualib_orxonox
12  lua_orxonox
[1505]13)
14
[1755]15
16SET (TOLUAGEN_SRC_FILES
[1505]17  tolua.c
18  toluabind.c
19)
20
[1804]21ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES})
[1755]22
[1804]23TARGET_LINK_LIBRARIES (toluagen_orxonox
24  lua_orxonox
25  tolualib_orxonox
[1755]26  m
27)
28
29
[1809]30SET (TOLUA_PACKAGE "../../src/tolua/tolua-5.1.pkg")
[1804]31GET_TARGET_PROPERTY(TOLUAGEN_EXE toluagen_orxonox LOCATION)
[1755]32ADD_CUSTOM_COMMAND(
33  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/toluabind_orxonox.c
34  COMMAND ${TOLUAGEN_EXE} -n tolua -o ../../src/tolua/toluabind_orxonox.c -H ../../src/tolua/toluabind_orxonox.h ${TOLUA_PACKAGE}
[1804]35  DEPENDS toluagen_orxonox
[1755]36  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
37)
38
39SET (TOLUAEXE_SRC_FILES
40  tolua.c
41  toluabind_orxonox.c
42)
43
[1804]44ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES})
[1505]45
[1804]46TARGET_LINK_LIBRARIES (tolua_orxonox
47  lua_orxonox
48  tolualib_orxonox
[1505]49  m
50)
Note: See TracBrowser for help on using the repository browser.