NMAKE

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(Command Lines)
第14行: 第14行:
 
*12. Post-Build event
 
*12. Post-Build event
 
==Command Lines==
 
==Command Lines==
Run vcvars32.bat
+
运行 vcvars32.bat // C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
  
 
hello.cpp
 
hello.cpp
第25行: 第25行:
  
 
c:\test\hello.exe
 
c:\test\hello.exe
 +
 
==Links==
 
==Links==
 
*[http://msdn.microsoft.com/en-us/library/dd9y37ha(VS.71).aspx NMAKE Reference]
 
*[http://msdn.microsoft.com/en-us/library/dd9y37ha(VS.71).aspx NMAKE Reference]
 
*[http://msdn.microsoft.com/en-us/library/91621w01(VS.71).aspx C/C++ Building Reference]
 
*[http://msdn.microsoft.com/en-us/library/91621w01(VS.71).aspx C/C++ Building Reference]

2010年2月4日 (四) 11:46的版本

The Microsoft Program Maintenance Utility (NMAKE.EXE) is a 32-bit tool that builds projects based on commands contained in a description file.

Build steps

  • 1. Pre-Build event
  • 2. Custom build steps on individual files
  • 3. Proxy generator
  • 4. MIDL
  • 5. Resource compiler
  • 6. The C/C++ compiler
  • 7. Pre-Link event
  • 8. Linker or Librarian (as appropriate)
  • 9. BSCMake
  • 10. Custom build step on the project
  • 11. Web deployment tool. The web deployment tool runs as part of a build only if the linker or librarian tools also run. However, you can run the web deployment tool via the Build menu.
  • 12. Post-Build event

Command Lines

运行 vcvars32.bat // C:\Program Files\Microsoft Visual Studio 9.0\VC\bin

hello.cpp

#include <iostream>
int main()
{
     std::cout << "hello, world\n";
}

c:\test\cl hello.cpp

c:\test\hello.exe

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱