My goal is to integrate testing into my development environment (as post-build step). I don’t want to interfere with the DLLs that are generated in debug and release, so i plan to create new configurations for the project. But i don’t want to compile every source file i have twice – once for the DLL, once for the test unit – I want to share the generated object files. How can I achieve this ?
I am developping in c++ using Visual Studio 2005.
Compile the objs into a new lib project that is shared between the dll and your test project.