Hi,
I converted an old, almost 30-years old C project to VS2019 :) which took a lot of effort on its own. Now everything seems to be OK, except that the predefined macros misbehave, and I am not aware of a way to fix it. What happens looks like this:
- The "Output Directory" and "Intermediate Directory" are customized in order to point at binary and intermediate directory trees rather than to mess up with the source tree;
- The %(Lib.OutputFile) property looks like $(OutDir)$(TargetFileName) - and I was hoping the $(OutDir) would automatically follow the "Output Directory" definition.
- However it is not the case. The $(OutDir) seems to have thte life of its own and does not match my setup. As a result, after the build is over I find a bunchof .tlog files at the wrong location (BTW, how to disable them being generated), and even though the built program is placed to a correct location, when i start debugging it is not started because the Debugging "Command" is defined using the $(OutDir).
That is, how to bring the $(OutDir) in correspondence with the "Output Directory" and avoid further customizing the properties, like making the Debugging "Command" something unusual?
Thank you!