Can we have also $(UserHost) ?
Which will translate to the `hostname` shown in “Debug Settings”, which is the windows computer name.
This way I could change project remote directory on building host to /tmp/VisualGDB/$(UserHost)/$(UserName)/$(ProjectDirUnixStyle)
or if I have only one user per host, I could just use /tmp/VisualGDB/$(UserHost)/$(ProjectDirUnixStyle)
We looked more into this. Actually, you can simply use the COMPUTERNAME variable that is available on Windows XP and newer versions. Use $(COMPUTERNAME) in your commands in VisualGDB settings.
Note that you can also use any other environment variables of the current Windows user (if a build variable with the same name exists, it will override the environment variable).