I use MSVC2019 for two C++ projects:

1. APP is a dynamic link library.
2. TEST is the automated test project.

TEST does not only perform tests on the API part of the DLL, but also on some non-published methods of APP ("unit tests"). Those methods are made visible to the TEST project by linking against the .obj files of the APP project.

Keeping this list of .obj files up-to-date becomes tedious lately. I wondered if there's a way to provide the list of files as input text file to the MSVC linker (see `"Configuration Properties" -> "Linker" -> "Command line" -> "Additional options"`). A script could generate the list of files easily and just pass it to the linker by piping from stdin.

My first attempt failed, simply adding `"< myLinkerArguments.txt"`.

Example:
`PATH_TO_LINKER\link.exe /ERRORREPORT:PROMPT /OUT:"G:\testproject\test_d.exe" < myLinkerArguments.txt`

Any ideas if and how that's possible?

Thank you for reading,
Paul