Changeset 2510 for code/branches/buildsystem2/src/tolua
- Timestamp:
- Dec 17, 2008, 9:05:10 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2
- Property svn:mergeinfo changed
/code/branches/buildsystem merged: 2278-2279,2318,2322,2325-2326,2335-2336,2338-2339,2359-2360,2384,2392,2399
- Property svn:mergeinfo changed
-
code/branches/buildsystem2/src/tolua/CMakeLists.txt
r2509 r2510 1 SET(TOLUALIB_SRC_FILES 1 ADD_LIBRARY(tolualib_orxonox STATIC 2 2 tolua_event.c 3 3 tolua_is.c … … 7 7 ) 8 8 9 ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})10 9 TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARIES}) 11 10 11 #INSTALL(TARGETS tolualib_orxonox LIBRARY DESTINATION lib) 12 12 13 13 SET(TOLUAGEN_SRC_FILES … … 15 15 ) 16 16 17 ADD_EXECUTABLE 17 ADD_EXECUTABLE(toluaexe_orxonox ${TOLUAGEN_SRC_FILES}) 18 18 TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES}) 19 19 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) 21 IF("${LUA_VERSION}" MATCHES "^5.0") 22 SET(TOLUA_ALL_PACK all-5.0.lua) 23 #ELSE("${LUA_VERSION}" VERSION_LESS 5.1) 24 ELSE("${LUA_VERSION}" MATCHES "^5.0") 25 SET(TOLUA_ALL_PACK all-5.1.lua) 26 #ENDIF("${LUA_VERSION}" VERSION_LESS 5.1) 27 ENDIF("${LUA_VERSION}" MATCHES "^5.0") 28 22 29 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE) 23 30 SET(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.