Showing posts with label CPPUnit. Show all posts
Showing posts with label CPPUnit. Show all posts

Monday, April 26, 2010

Archive from 21_10_08 - Using Environment Variables in Visual Studio Search Path

Hi All,
After setting up wxWidgets it suddenly occurred to me that their solution of using an environment variable (WXWIN) in the search path was just as applicable for all the other sets of libraries I need to keep up to date. So I have just created a set of Environment variables for:
* Xerces XML parser $(XERCES_DIR)
* Boost Libs $(BOOST_DIR)
* Lua $(LUA_DIR)
* CppUnit $(CPPUNIT_DIR)
Ogre already has one defined (OGRE_HOME) which I have used even though its not as intuitive.
This lets me abstract the libraries paths and stop having to fiddle settings in the project files each time I update a library.
Later,

Archive from 15_10_08 - Updating CppUnit for Visual Studio 2008

Hi,
If you are trying to compile CppUnit 1.12.1 with Visual Studio 2008, here are the changes you will need to make to the project settings to get it to all work without problems.
BTW my build target it WindowXP SP2. If you are building with for a different SDK you may need to tweak things. See this page on MSDN for the relevant Hex codes.
http://msdn.microsoft.com/en-us/library/aa383745(VS.85).aspx
For the Debug Static Build
Add WINVER=0x0502 to the pre-processor symbols for each of the following projects:
* DLLPlugInTester
* DSPlugIn( Only if you want to build this for some strange reason)
* TestPlugInRunner
* TestRunner
Add OEMRESOURCE to the pre-processor symbols for:
* TestPlugInRunner

Change the manifest file name in the Manifest Tool output for DSPlugIn from
$(IntDir)\$(TargetFileName).embedded.manifest
to
$(IntDir)\$(TargetFileName).intermediate.manifest
Again, this is only relevant if you want to build DSPlugIn. Remember this is a plugin for Visual Studio 6.0.
For the Release Unicode Build.
Add WINVER=0x0502 to the pre-processor symbols for projects:
* TestRunner
* DLLPlugInTester
* TestPlugInRunner
Add OEMRESOURCE to the pre-processor symbols for project:
* TestPlugInRunner
And it should all build nicely.
I would assume the same holds true for the other build configurations.

Enjoy,