Skip to content

Remove --no-print-directory from recursive make calls #1665

Answered by starkos
btgould asked this question in Q&A
Discussion options

You must be logged in to vote

There is not an official way to do that currently, and not a particularly clean way to override the logic either. You could try to override premake.make.projectrules() (or premake.gmake2.projectrules depending on which action you're using), and just modify the logic to suit. Something like (untested):

premake.override(premake.make, 'projectiles', function(base, wks)
    for prj in p.workspace.eachproject(wks) do
        local deps = project.getdependencies(prj)
        deps = table.extract(deps, "name")
        _p('%s:%s', p.esc(prj.name), make.list(deps))

        local cfgvar = make.tovar(prj.name)
        _p('ifneq (,$(%s_config))', cfgvar)

        _p(1,'@echo "==== Building %s ($(%s_…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@btgould
Comment options

Answer selected by btgould
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants