S
Sami Lakka
I have a solution with a two projects. The first project contains my classes
and an executable using those classes. The second project contains unit
tests for the classes. Because the unit test framework that I use requires a
main function I have to keep the tests in a separate project. Now when I try
to link the unit test project I get a lot of "Error LNK2019: unresolved
external symbol" errors. Both projects compile just fine and and the first
project creates OBJ files in the output directory. What should I do so that
the linker in the unit test project correctly links with the OBJ files of
the first project? Both of these projects should create executables.
and an executable using those classes. The second project contains unit
tests for the classes. Because the unit test framework that I use requires a
main function I have to keep the tests in a separate project. Now when I try
to link the unit test project I get a lot of "Error LNK2019: unresolved
external symbol" errors. Both projects compile just fine and and the first
project creates OBJ files in the output directory. What should I do so that
the linker in the unit test project correctly links with the OBJ files of
the first project? Both of these projects should create executables.