On 21 August 2014 11:55, Gaspard Bucher <[email protected]> wrote: > Hi everyone, > > I feel dumb, but how am I supposed to pass the obvious installation path to > cmake ? > > I tried using build.variables but the substitutions there are only related > to rocks paths, not deploy paths.
The final deployment paths are not available to the build process on purpose. You shouldn't use deploy paths when building because it would risk hardcoding depoly paths. Rocks are designed to be relocatable, so you shouldn't expect that a rock will always be installed in the same tree where it was built. In other words, deploy paths are unavailable in order to make this this possible: luarocks build foo --tree=c:/this/path/ luarocks pack foo --tree=c:/this/path/ # generates foo-1.0-1.win32-x86.rock luarocks install foo-1.0-1.win32-x86.rock --tree=d:/somewhere/else/ -- Hisham ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
