New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra command line options for luarocks make is needed. #339
Comments
If you add a I've given this some thought and the least intrusive and most effective way would be to add the appropriate debugging CFLAGS (
Yes, I completely missed the fact that you removed that (sorry about not paying enough attention). It should definitely come back. Then you will have solved your problem for Xcode, since you'll be able to set it in If you want you can leave |
@hishamhm Sorry for #327 . Revert back in #340 . for windows MSVC flags would: defaults.variables.CFLAGS = {release="/MD /O2", debug="/MD /Od /Ob0 /Zi /D \"_DEBUG\""}
defaults.variables.LIBFLAG = {release="/dll", debug="/dll /DEBUG"} It boring that only MSVC requires different LIBFLAG for debug and release mode. (Other gcc family are doing this in CFLAGS) |
Have you got any ideas Let |
#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 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_generator
in Better cmake support. #327 ?I just currently can't find the best answer myself.
The text was updated successfully, but these errors were encountered: