How to use external cpp projects in a cpp project in Visual Studio 2008
i m trying to make small test driven example by using cppunit. So i have 2开发者_如何学C project which are test and normal library project. Whatever i do, i cannot be successfull. i got alltime LNK Error. Any help will be apreciated.
Your test program needs to have a dependency on the library, so that it links against it.
In addition to this, you need to add the cppunit libraries as additional libraries, in the "properties -> linker -> input" section of the test program.
精彩评论