Skip to content

Extra command line options for luarocks make is needed. #339

@xpol

Description

@xpol

#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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions