\gtest-1.7.0\msvc\gtest.sdf in released and debug modeSample_1 as empty Windows console applicationsample1.h & sample1.cpp (both taken from googletest official site http://code.google.com/p/googletest/source/browse/#svn/trunk/samples)Sample_1_UnitTest to the Sample_1 solutionSample_1_UnitTest properties page:Configuration Properties ->
-> VC++ Directories->Include Directories -> C:......\gtest-1.7.0\include & \gtest-1.7.0 (for All Configurations)
-> C/C++ -> General -> Include Directories -> C:......\gtest-1.7.0\include (for All Configurations)
-> C/C++ -> Preprocessor -> Preprocessor Definition -> add _VARIADIC_MAX=10 (for All Configurations)
-> C/C++ -> Code Generation -> Runtime Library - > /MT (for Release) & /MTd (for Debug)
-> Linker -> General -> Additional Lib.D. -> \gtest-1.7.0\msvc\gtest\Release (for Release) & \Debug (for debug)
-> Linker -> Input -> Additional Dep.-> gtest(d).lib; gtest_main(d).lib(Depending on release/debug)
6. Added file sample1_unittest.cpp (http://code.google.com/p/googletest/source/browse/trunk/samples/sample1_unittest.cc) to the Sample_1_UnitTest project.
7. Added Reference to Sample_1_UnitTest project.
8. Build solution (in debug), and getting following error:
--
---
You received this message because you are subscribed to the Google Groups "Google C++ Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
For background information on static libraries and DLLs in C++, see http://stackoverflow.com/q/1127460/25507.
Josh Kelley