#ifdef _DEBUG
#ifdef _UNICODE && UNICODE
#pragma comment(lib, "testrunnerud.lib")
#endif
#pragma comment(lib, "cppunitd.lib")
#pragma comment(lib, "testrunnerd.lib")
#else
#ifdef _UNICODE && UNICODE
#pragma comment(lib, "testrunneru.lib")
#endif
#pragma comment(lib, "cppunit.lib")
#pragma comment(lib, "testrunner.lib")
#endif
转载于:https://www.cnblogs.com/luke-coder/p/3428828.html