What steps will reproduce the problem?
1. Compile and install mockcpp in default configuration.
2. Compile my test project, with /DMOCKCPP_USE_MOCKABLE.
3. (VS2005) Generation the following link error:
ut.obj : error LNK2001: "public: static class mockcpp::ChainableMockObject
mockcpp::GlobalMockObject:
:instance" (?instance@GlobalMockObject@mockcpp@@2VChainableMockObject@2@A)
What version of the product are you using? On what operating system?
mockcpp 2.4, Windows XP and Visual Studio 2005.
Please provide any additional information below.
I think it may be better to provider a new cmake entry for
MOCKCPP_USE_MOCKABLE.
Original issue reported on code.google.com by han.bing...@gmail.com on 19 Apr 2010 at 5:50
Original issue reported on code.google.com by
han.bing...@gmail.com
on 19 Apr 2010 at 5:50