Skip to content

Feature request: path to root directory and root relative #225

@p2rkw

Description

@p2rkw

Hi,
I need one variable with path to root directory and one with relative path from root directory to RUNNING directory (with currently parsed Tupfile). I need this to force GCC to emit proper file locations to source files for GDB.
GDB needs relative path from binary to to source file, currently with one Tupfile per directory this path get lost.

Is it possible to get directory where tup was initialized?
Is it possible to get directory from tup's root to current Tupfile?

If not, I'd like to suggest adding them :)

If think I can add these variables (TUP_ROOT and TUP_RWD maybe?), but I need your green light.

So, Is it OK to add them?
Are you going to add them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions