Changing Visual GDB build variables

Sysprogs forums Forums VisualGDB Changing Visual GDB build variables

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #752
    dvdevore
    Participant

    Hello,

    Is it possible to override a few of the Visual GDB build variables? …such as:
    $(TargetExtension)
    $(TargetPath)
    $(TargetDir)

    I need to change TargetPath/TargetDir so that the library or exe is copied to another bin directory, which can probably be accomplished through a custom build step…but I would like to know anyways how I go about overriding these build variables.

    Thanks!

    #2990
    ket
    Participant

    Hi,

    VisualGDB build variables are usually derived from the project settings or our generated Makefile.

    For Linux projects the Target-related build variables are derived from the BuildDir variable and TARGETNAME and BINARYDIR from the makefiles. If you change these variables in the makefiles then the library/executable will be built into a different directory under a different name.

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