编辑vcxproj [英] editing vcxproj

查看:248
本文介绍了编辑vcxproj的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将GDAL(用于地理翻译的开源项目)库与我在VS2010中的应用程序集成在一起.库源代码有多个文件夹.每个文件夹都有其自己的makefile.vc文件.我要编译的库没有某些功能,这些功能又取决于其他库,而我没有. nmake.opt文件已经为外部库添加了注释条目,但是VS编译器仍在考虑这些库,并且会报告错误.我在每个文件夹中更改了makefile.vc.但是,我仍然遇到相同的错误.最后,我从vcxproj文件中删除了条目以解决该错误.但是我认为这不是正确的方法.有谁知道实现此目标的更好方法吗? Visual Studio IDE似乎没有提供检测此类问题并解决它们的工具.

I am integrating GDAL (open-source project, for geographic translations)library with my application in VS2010. The library source code has multiple folders. Each folder has its own makefile.vc file. I want to compile the library without certain features which are in turn dependent upon other libraries, not available with me. The nmake.opt file already has commented entries for external libraries but still these libraries are being considered by VS compiler and errors are reported. I changed makefile.vc in each of the folders. However, I still get the same error. Finally, I removed entries from vcxproj file to resolve the error. But I think this is not proper way to do so. Does any one know better way to achieve this? Visual Studio IDE does not seem to be providing facilities to detect this kind of issues and resolve them.

推荐答案

您好,Rajesh,
当然,最简单的方法是使用 VS2010 GDAL和MapServer SDK软件包 [属性管理器 [ ^ ].
欢呼声,
AR
Hi Rajesh,
The simplest is certainly to use the VS2010 GDAL and MapServer SDK packages[^].
Otherwise the Visual Studio facility for this kind of issue is the powerful but poorly documented Property Manager[^].
cheers,
AR


这篇关于编辑vcxproj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆