--- LuaDist configuration module ("dist.config", package.seeall) -- LuaDist specific version = "0.9.5" -- Current LuaDist version arch = "Cygwin" -- Host architecture type = "x86" -- Host type libSuffix = ".dll" -- Lua binary module extension -- URLs of repositories to search for packages. http://, file:// or any curl recognized URL type can be used. local repo = "http://dna42.homeip.net/luadist/repo" repositories = { repo.."/Universal/all", repo.."/"..arch.."/all", repo.."/"..arch.."/"..type, -- repo.."/Universal/source/experimental/dependencies", -- repo.."/Universal/source/experimental/modules", repo.."/Universal/source/stable/dependencies", repo.."/Universal/source/stable/modules", } -- Behavior binary = true -- Use binary modules source = false -- Use source modules (requires CMake and MinGW/gcc to be installed) wrap = true -- Create wrappers doc = true -- Create documentation indexes test = false -- Run package tests before install verbose = false -- Print verbose output to stdout debug = false -- Enable verbose CMake builds cleanup = true -- Clean files in temporary directory --- Do not edit below unless you know what you are doing. -- Paths, deployment structure -- WARNING: Changing these variables will render binary modules incompatible, you need to rebuild all binary modules from source. root = os.getenv("LUADIST") -- Current deployment directory (Directory LuaDist is in) -- Relative to root top = "." -- Where to store wrappers bin = "bin" -- Binaries lib = "lib" -- Libraries and external libraries inc = "include" -- Include headers share = "share" -- Shared package files lmod = "module/lmod" -- Lua modules cmod = "module/cmod" -- Lua binary modules tmp = "tmp" -- Temporary directory -- Full path to temporary directory temp = root .. "/" .. tmp -- CMake variables variables = { --- Install variables INSTALL_TOP = ".", INSTALL_BIN = bin, INSTALL_LIB = lib, INSTALL_INC = inc, INSTALL_SHARE = share, INSTALL_LMOD = lmod, INSTALL_CMOD = cmod, INSTALL_TMP = tmp, --- LuaDist specific variables LUADIST_VERSION = version, LUADIST_ARCH = arch, LUADIST_TYPE = type, -- CMake setup CMAKE_GENERATOR = "Unix Makefiles", CMAKE_BUILD_TYPE = "Release", CMAKE_OSX_ARCHITECTURES = "", }