If incremental linking is enabled, Visual C++ generates the *.ilk file in $(TargetDir), can I override this behavior and redirect it to another directory? (without using a post-build step)
In Visual C++ 6.0 and Visual C++ 2008 is not possible to select a different dir for the ilk file. Valid options for incremental linking are /INCREMENTAL:YES
and /INCREMENTAL:NO
.
Also, if you create a post build step to move the ilk file to a different location, Visual C++ will not be aware of this, so is the same as dissabling incremental linking at all, since Visual C++ will not find the ilk file.
HTH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With