Hi, thanks for the answers !! Philip, changing the option works, but the linker make a lot of warnings : http://msdn.microsoft.com/en-us/library/5ske5b71(VS.71).aspx that is very annoying...
So I don't know if I will keep this one or not... unittest++ seems good, and cppunit too (if anyone have feedback on the last one ...) Don't know exactly what to choose... See you later if I found the good one, still earing if you have any advices. Thanks. Regards, Vincent. 2009/7/17 Philip Lowman <[email protected]> > On Fri, Jul 17, 2009 at 7:49 AM, Vincent Bourdier < > [email protected]> wrote: > >> Hi all, >> >> For our osg-based project, I am searching for unit tests. >> >> Visual Studio implement them only in managed c++, so I am looking at >> different libs to do that. >> I just tried googleTest, but it needs a /MT compilation instead of osg >> needs a /MD ... > > > Just modify the project files that come with gtest to build with /MD & > /MDd. It should work fine. > > 1. Open up solution file > 2. Use CTRL+Click to select all gtest projects > 3. Right click and go to Properties > 4. Expand "Configuration Properties"->"C/C++"->"Code Generation" > 5. While modifying Configuration "Active(Release)" choose "Multi-threaded > DLL (/MD)" from the Runtime Library option. > 6. Switch Configuration to "Active(Debug)" and choose "Multi-threaded Debug > DLL (/MDd)" from the Runtime Library option. > 7. Build > > -- > Philip Lowman > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

