Hello Marc,
all LuaDist packages contain CMakeLists.txt which are used by the CMake tool to generate platform specific makefiles or IDE projects etc. Generally you just need to run CMake[1], for example:
> cd any_luadist_module
> # Make a build dir so sources are left alone
> mkdir _build && cd _build
> # Tell CMake to use CMakeLists.txt from the sources and generate MinGW makefiles. Also set destination prefix for install
> cmake .. -G”MinGW Makefiles” -DCMAKE_INSTALL_PREFIX=../_install
> # Build the project and install. Alternatively you can call “make”/“make install"
> cmake —build . —target install
Without all dependencies present CMake will complain that the build in incomplete and you have to provide all the dependencies yourself while pointing cmake to the files using -D[VARIABLE]=[VALUE] notation similar to the CMAKE_INSTALL_PREFIX setting.
Ideally you should use the “luadist” tool that comes with the luadist binaries as it greatly simplifies this. The tool needs CMake and a supported compiler to be installed on the host but compared to the above process it will automatically install all dependencies also.
> # The basic use case is
> luadist [destination_path] install [module_names]
> # for example installing Lua5.2 and lfs, luasocket modules from source only is as simple as running
> luadist C:/Lua-5.2 install lua-5.2 luafilesystem luasocket —source=true —binary=false
For more information please check out the wiki[2].
pd
[1]
www.cmake.org
[2]
https://github.com/LuaDist/Repository/wiki
> --
> You received this message because you are subscribed to the Google Groups "luaforwindows" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
luaforwindow...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.