如何从VS 6项目调用make文件 [英] How call make file from VS 6 project
问题描述
Hi
如何从visual studio 6.0调用MAKE文件
示例 - 在某些已包含的项目中,make文件具有在FastObject 7.9中编译和创建数据库的指令 -
我在这个项目的Proxies.dsp文件中找到以下内容:
CFG = Proxies - Win32 Debug
!MESSAGE这不是一个有效的makefile。要使用NMAKE构建这个项目,
!MESSAGE使用Export Makefile命令运行
!MESSAGE
!MESSAGE NMAKE / fProxies。 mak。
!MESSAGE
!消息您可以在运行NMAKE时指定配置
!MESSAGE在命令行上定义宏CFG 。例如:
!MESSAGE
!MESSAGE NMAKE / fProxies.makCFG =Proxies - Win32 Debug
!MESSAGE
!MESSAGE配置的可能选择是:
!MESSAGE
!MESSAGEProxies - Win32 Debug(基于Win32(x86)Dynamic) -Link Library)
!MESSAGEProxies - Win32 Release MinSize(基于Win32(x86)动态链接库)
!MESSAGEProxies - Win32发布MinDependency(基于Win32(x86)动态链接库)
!MESSAGEProxies - Win32 Unicode Release MinSize(基于Win32(x86)动态链接库)
!MESSAGEProxies - Win32 Unicode Release MinDependency(基于Win32(x86)动态链接库)
!MESSAGE
但在项目设置中我没有成功找到这个电话或任何参考作品
你能帮忙吗?
谢谢你/>
我尝试了什么:
我搜索了s超出完整项目
您可以通过设置C ++的命令行选项卡或运行后构建选项中的链接器输入来完成。
Hi
how to call MAKE file from visual studio 6.0
Example - in some project already included make file has directives to compile and create database in FastObject 7.9-
I found in this project's Proxies.dsp file the following :
CFG=Proxies - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "Proxies.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "Proxies.mak" CFG="Proxies - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "Proxies - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Proxies - Win32 Release MinSize" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Proxies - Win32 Release MinDependency" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Proxies - Win32 Unicode Release MinSize" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Proxies - Win32 Unicode Release MinDependency" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
but in Settings of project I didn't succeed to find this calling or any reference to make
Can you please help?
Thanks
What I have tried:
I searched make string beyond full project
You can do it via in setting "command line" tab of C++ or the linker input in the "run after build" option.
这篇关于如何从VS 6项目调用make文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!