You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#327 we made the defaulut cmake build system use cmake detected generator and release build for rocks.
That if fine for module users.
But as a module developer, after a few days of using the new cmake build system, I found that the follow command line option for luarocks make is required:
Choose Debug build from command line
luarocks make --debug
or
luarocks make --config debug
which is better?
As make command is for developer, should debug be the default for make command
and release default for build command?
Overwrite the default generator for cmake
On Mac, it generate Makefile, but I want Xcode project to debug.
add options like luarocks make --pass-args "-G Xcode" (should be a better option name)
or something in ~/.luarocksrc.lua ?
or maybe I did wrong thing that removed the support of cfg.cmake_generator in Better cmake support. #327 ?
I just currently can't find the best answer myself.
#327 we made the defaulut cmake build system use cmake detected generator and release build for rocks.
That if fine for module users.
But as a module developer, after a few days of using the new cmake build system, I found that the follow command line option for
luarocks makeis required:Choose
Debugbuild from command lineor
which is better?
As make command is for developer, should debug be the default for make command
and release default for build command?
Overwrite the default generator for cmake
On Mac, it generate Makefile, but I want Xcode project to debug.
luarocks make --pass-args "-G Xcode"(should be a better option name)~/.luarocksrc.lua?cfg.cmake_generatorin Better cmake support. #327 ?I just currently can't find the best answer myself.