Changeset 998 for code/branches
- Timestamp:
- Apr 6, 2008, 1:25:44 AM (17 years ago)
- Location:
- code/branches/script
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script/CMakeLists.txt
r996 r998 72 72 FIND_PACKAGE(ZLIB) 73 73 FIND_PACKAGE(Lua) 74 FIND_PACKAGE(ToLua)74 #FIND_PACKAGE(ToLua) 75 75 76 76 #Sets the search paths for the linking -
code/branches/script/cmake/FindLua.cmake
r956 r998 23 23 /usr/local/lib) 24 24 25 IF (NOT Lua_ LIBRARIES AND Lua_INCLUDE_DIR)25 IF (NOT Lua_INCLUDE_DIR) 26 26 FIND_PATH(Lua_INCLUDE_DIR lua.h 27 27 /usr/include/lua50 28 28 /usr/local/include/lua50 29 29 /usr/pack/lua-5.0.3-sd/include/) 30 ENDIF (NOT Lua_INCLUDE_DIR) 31 MESSAGE(STATUS ${Lua_INCLUDE_DIR}) 30 32 31 FIND_LIBRARY(Lua_LIBRARIES lua50 33 IF (NOT Lua_LIBRARIES) 34 FIND_LIBRARY(Lua_LIBRARIES lua50 liblua 32 35 /usr/lib 33 36 /usr/local/lib 34 37 /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/) 35 38 36 FIND_LIBRARY(Lua_LIBRARY lualib50 39 FIND_LIBRARY(Lua_LIBRARY lualib50 liblualib 37 40 /usr/lib 38 41 /usr/local/lib 39 42 /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/) 40 43 44 MESSAGE(STATUS ${Lua_LIBRARY}) 45 MESSAGE(STATUS ${Lua_LIBRARIES}) 46 41 47 SET(Lua_LIBRARIES ${Lua_LIBRARIES} ${Lua_LIBRARY}) 42 48 43 ENDIF (NOT Lua_LIBRARIES AND Lua_INCLUDE_DIR)49 ENDIF (NOT Lua_LIBRARIES) 44 50 45 51 IF (Lua_INCLUDE_DIR AND Lua_LIBRARIES) -
code/branches/script/src/util/CMakeLists.txt
r997 r998 2 2 3 3 AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES) 4 AUX_SOURCE_DIRECTORY(tolua ++ TOLUA++_SRC_FILES)4 AUX_SOURCE_DIRECTORY(tolua TOLUA_SRC_FILES) 5 5 6 6 SET (UTIL_SRC_FILES … … 12 12 MultiTypeMath.cc 13 13 ${TINYXML_SRC_FILES} 14 $ (TOLUA++_SRC_FILES)14 ${TOLUA_SRC_FILES} 15 15 ) 16 16
Note: See TracChangeset
for help on using the changeset viewer.