
Paul A Bristow skrev:
[mailto:boost-bounces@lists.boost.org] On Behalf Of Thorsten Ottosen
Thus when I hiut F5, I get the errors in the output window in visual studio :-)
Brilliant! This has been bugging me for some time :-)
I've refined it a bit by using in Custom build
Command line: "$(TargetDir)$(TargetName).exe" (and more perhaps)
Description: Autorun "$(TargetDir)$(TargetName).exe"
This makes the source filename appear too - a useful feature when you get confused about various versions in different directories.
Nice.
Output: c:\dummy_file_used_by_autorun.txt
The dummy_file seems to be deleted after each run so a longer and more unique name might be wiser.
How does one write output to it?
No idea.
Alt B U does a re-build.
Ctrl F5 re-runs and also shows output in the cmd.exe window.
F5 is not so useful - debugs - but you may want this (but there are never any bugs in programs of course ;-).
Right :-) It is at least useful for me sometimes ... if you have build the project already, simply answer "no" to "should you rebuild" and it will run in the debugger. -Thorsten