Added Windows Lua libraries

This commit is contained in:
Radegast 2013-01-02 04:16:14 -08:00
parent 5ea89d42e7
commit 6ebffaf3fa
4 changed files with 7 additions and 3 deletions

View file

@ -33,9 +33,10 @@ if(WIN32)
#-----------------------------------------------------------------
# Build bundled Lua 5.1 library
#-----------------------------------------------------------------
if(BUNDLED_LUA)
# TODO: add lua for Windows
message(FATAL_ERROR "Building bundled Lua on Windows is not yet possible.")
if(BUNDLED_LUA) # DLL
file(COPY ${CMAKE_SOURCE_DIR}/libs/lua-windows/lua51.dll DESTINATION ${CMAKE_BINARY_DIR})
set(LUA_BUNDLED_LIBRARIES "${CMAKE_SOURCE_DIR}/libs/lua-windows/lua51.lib" PARENT_SCOPE)
set(LUA_BUNDLED_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/libs/lua/src" PARENT_SCOPE)
endif(BUNDLED_LUA)
#-----------------------------------------------------------------

3
lua-windows/README.txt Normal file
View file

@ -0,0 +1,3 @@
Precompiled binaries taken from the "Lua for Windows" project.
http://code.google.com/p/luaforwindows/

BIN
lua-windows/lua51.dll Normal file

Binary file not shown.

BIN
lua-windows/lua51.lib Normal file

Binary file not shown.