本文介绍了如何在Visual Studio项目中为各种功能引入多个版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在Windows XP上使用VC ++和Visual Studio 2010开发ActiveX控件.

我想为我的项目提供多种发布类型.版本类型在功能上会有所不同.版本A可能仅具有功能A1 ...而版本B可能仅具有功能B1 .... Bn.另外,项目中使用了第三方库.特定版本仅考虑与其功能相关的库.

如何做到这一点?是否可以通过宏或其他任何机制引入条件,以使特定发行版仅构建有限的功能集?

问候,
Rajesh G Manwani

Hi,

I am developing ActiveX control using VC++ with Visual Studio 2010, on WindowsXP.

I want to have multiple release types for my project. The release types will differ in features. The release A may have only features A1...An while Release B may have only features B1....Bn. Also, there are third-party libraries being used in project. A particular release will only consider libraries relevant to its features.

How can this be achieved? Is it possible to introduce conditions thru macros or any other mechanism, into build so that particular release builds only limited set of features?

Regards,
Rajesh G Manwani

推荐答案




这篇关于如何在Visual Studio项目中为各种功能引入多个版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 23:44