Changeset 1808 for code/branches
- Timestamp:
- Sep 21, 2008, 8:30:03 PM (16 years ago)
- Location:
- code/branches/ceguilua/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ceguilua/src/CMakeLists.txt
r1804 r1808 2 2 INCLUDE_DIRECTORIES(..) 3 3 INCLUDE_DIRECTORIES(orxonox) 4 #INCLUDE_DIRECTORIES(tolua)5 4 6 5 ADD_SUBDIRECTORY(cpptcl) 7 6 ADD_SUBDIRECTORY(ois) 8 7 ADD_SUBDIRECTORY(tinyxml) 8 ADD_SUBDIRECTORY(lua) 9 ADD_SUBDIRECTORY(tolua) 9 10 10 # This section deals with Lua version problems because CEGUILua scripting 11 # module for CEGUI also uses Lua, but maybe with a different version. 11 # Some people may not have CEGUILua installed, espc. with version 0.5 12 # And we don't know what lua version it was linked against, so we compile 13 # it ourselves. 12 14 # So first, find out what CEGUI version we have. 15 IF (${CEGUI_VERSION} LESS 0.6.0) 16 ADD_SUBDIRECTORY(ceguilua-0.5.0b) 17 INCLUDE_DIRECTORIES(ceguilua-0.5.0b) 18 ELSE (${CEGUI_VERSION} LESS 0.6.0) 19 ADD_SUBDIRECTORY(ceguilua-0.6.1) 20 INCLUDE_DIRECTORIES(ceguilua-0.6.1) 21 ENDIF (${CEGUI_VERSION} LESS 0.6.0) 13 22 14 23 15 ADD_SUBDIRECTORY(tolua) 16 24 # Our own libraries 17 25 ADD_SUBDIRECTORY(util) 18 26 ADD_SUBDIRECTORY(core) -
code/branches/ceguilua/src/ceguilua-0.5.0b/ceguilua/CMakeLists.txt
r1804 r1808 8 8 ) 9 9 10 ADD_LIBRARY( ceguilua_orxonox SHARED ${ LUA_SRC_FILES} )10 ADD_LIBRARY( ceguilua_orxonox SHARED ${CEGUILUA_SRC_FILES} ) 11 11 12 12 TARGET_LINK_LIBRARIES( ceguilua_orxonox lua_orxonox ) -
code/branches/ceguilua/src/core/CMakeLists.txt
r1804 r1808 54 54 ) 55 55 56 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)56 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) 57 57 ADD_CUSTOM_COMMAND( 58 58 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc -
code/branches/ceguilua/src/orxonox/CMakeLists.txt
r1804 r1808 66 66 ) 67 67 68 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)68 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) 69 69 ADD_CUSTOM_COMMAND( 70 70 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc … … 98 98 ${OGRE_LIBRARIES} 99 99 ${CEGUI_LIBRARIES} 100 ${CEGUI_SCRIPT_LIBRARIES}101 100 lua_orxonox 101 ceguilua_orxonox 102 102 tinyxml_orxonox 103 103 tolualib_orxonox
Note: See TracChangeset
for help on using the changeset viewer.