本文共 1822 字,大约阅读时间需要 6 分钟。
Recently, I am always asked about how to use the project on different platform or different Visual Studio version. For instance, If the project uses Windows Mobile 6 Professional SDK (ARMV4I) platform and bases on Visual Studio 2008, and you want to use it on Pocket PC 2003(ARMV4I) using Visual Studio 2005.
The easy way to achieve that is to change the project file. Following xml file illuminates the project file for CppUnitLite targeted to Windows Mobile 6 Professional SDK (ARMV4I) and based on Visual Studio 2008.
If you want to use this project on Pocket PC 2003 and use Visual Studio 2005 as the complier. Two things need to be changed for this case.
1. Change the complier version number.
2. Change the platform name.
Notes please, more than one spots use this platform name. All those platform names should be replaced by the new one.
Right the project name and select properties. In this case, the platform name is Pocket PC 2003(ARMV4).
本文转自Jake Lin博客园博客,原文链接:http://www.cnblogs.com/procoder/archive/2010/07/14/How-to-target-the-existing-project-to-new-platform.html,如需转载请自行联系原作者