Hi, I played with your repo under windows xp, cmake 3.0.2 and msvc 2010 and here are some things I had to do to make it work. Otherwise, very pleasant experience, thanks a lot.
- With this patch, luarocks (built from this repo) runs command line tools correctly
if detected.windows then
- local full_prefix = site_config.LUAROCKS_PREFIX.."\\"..cfg.major_version
+ local full_prefix = site_config.LUAROCKS_PREFIX
extra_luarocks_module_dir = full_prefix.."\\lua\\?.lua"
for _, var in ipairs(bins) do
if defaults.variables[var] then
- defaults.variables[var] = full_prefix.."\\tools\\"..defaults.variables[var]
+ defaults.variables[var] = full_prefix..defaults.variables[var]
end
- With this dir added (files from torch7-split repo) cmake doesn't complain about files missing in bin. Not sure if all of them are needed, though.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: luarocks/win32/bin/7z.dll
new file: luarocks/win32/bin/7z.exe
new file: luarocks/win32/bin/chmod.exe
new file: luarocks/win32/bin/cp.exe
new file: luarocks/win32/bin/find.exe
new file: luarocks/win32/bin/libeay32.dll
new file: luarocks/win32/bin/libiconv2.dll
new file: luarocks/win32/bin/libintl3.dll
new file: luarocks/win32/bin/libssl32.dll
new file: luarocks/win32/bin/ls.exe
new file: luarocks/win32/bin/md5sum.exe
new file: luarocks/win32/bin/mkdir.exe
new file: luarocks/win32/bin/mv.exe
new file: luarocks/win32/bin/objdump.exe
new file: luarocks/win32/bin/pwd.exe
new file: luarocks/win32/bin/rm.exe
new file: luarocks/win32/bin/rmdir.exe
new file: luarocks/win32/bin/test.exe
new file: luarocks/win32/bin/uname.exe
new file: luarocks/win32/bin/wget.exe
Hi, I played with your repo under windows xp, cmake 3.0.2 and msvc 2010 and here are some things I had to do to make it work. Otherwise, very pleasant experience, thanks a lot.