[Cppunit-devel] Build incompatibility
Brought to you by:
blep
From: Kevin C. <Kev...@At...> - 2005-02-03 01:51:33
|
Hi, We have started using CppUnit to test new code that we plan to add to our code base, all on Windows. There is a significant risk factor that might impair the integration of our unit testing with our existing code base. The difference is in the run-time libraries used. Consider the case of a release build. The problem is similar for the debug build. The run-time library is selected in the Code Generation category of the C/C++ tab of the project settings. The projects in our code base use the Multithreaded library (/MT option). However, CppUnit uses the Multithreaded DLL library (/MD option). Our unit tests are built with the Multithreaded DLL library, so that they build cleanly. Mixing these different settings in the code base when we start using the new classes will likely cause baffling linker errors. Have you heard of this problem before? Do you have suggestions on how we can get out of this problem? Thanks. =20 Kevin Coskey =20 |