NMAKE -f "test.mak" CFG="test - Debug "
就是这种,那里有相关的资料
就是这种,那里有相关的资料
解决方案 »
- CMainFrame中不要m_wndStatusBar.Create,状态拦仍正常工作,为什么
- vs2008中如何添加静态库
- Activex 返回一个参数指针
- 基于CVIEW类SDI和CFormView类的对话框之间切换
- 为什么用*.Open不能成功的打开文件
- WS_EX_TRANSPARENT创建透明窗口的问题?(分不够可以再加)
- 想为自己写的程序加上个好看的外表,各位有没有快捷方便的方法呢!?
- 请问谁有VC7读3ds数据的例子?急切!
- 对话框在不同显示分辨率情况下,布局会不会自动调整?该如何调整?
- 初学VC,特来送分,先到先得!
- MFC(DLL)用ADO远程连接SQL问题
- STL中的关于ostream_iterator
================
Create a Project in the Development Environment That Can Be Built with NMAKE
There are two ways to export a makefile from the development environment. You can choose to export a makefile whenever you save a project, or export a makefile only for specific projects. Note that creating an export makefile increases project save time, and you should only do it when necessary.The export makefile stores all the information required to build the project and can be used from the command line. The makefile specifies the same project build settings you set in the development environment. If you use NMAKE on the command line to build the project, the NMAKE syntax needed is given in the makefile as a comment that begins !MESSAGE NMAKE. For example, for a file test.mak the NMAKE syntax line is:!MESSAGE NMAKE /f "test.mak" CFG="test - Win32 Debug"
To export an NMAKE makefile whenever you save a project From the Tools menu, click Options.
The Options dialog box appears.On the Options dialog box, click the Build tab.
Select the Always export makefile when saving project option.
Click OK.
To export an NMAKE makefile for a particular project Open the project.
From the Project menu, click Export Makefile.
A .MAK file with the project name is immediately created and saved to the project directory.