Source path outside project directory.

Sysprogs forums Forums VisualGDB Source path outside project directory.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9126
    Mika571
    Participant

    Hi,

    I am not sure how to configure my project with the source files in a separate directory to the project directory. The problem is the generated Makefile lists the relative path but the source files are copied into the specified remote directory, a side affect to this is the Makefile is not copied just the source files.

    What else do I need to specify to get this to work?

    #9130
    support
    Keymaster

    Hi,

    You can add a custom file transfer to pre-build actions via VisualGDB Project Properties (requires Custom edition or higher) or simply change the local source directory on the Project Settings page to the parent directory that contains both your Makefile directory and the source file directories.

    #9229
    Mika571
    Participant

    Thanks, that’s done the trick. I had another question, how do we get an application to write output to /dev/null via gdb (e.g. run >/dev/null). As it specifically warns not to include run or continue commands in the GDB Startup commands page.

    #9230
    support
    Keymaster

    Hi,

    You can try using the tty command.

    #9260
    Mika571
    Participant

    Perfect! Thanks Mate!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.