欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
NMAKE
来自开放百科 - 灰狐
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
加上 lib 库
cl server.cpp /link "D:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\WS2_32.Lib" cl client.cpp /link "D:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\WS2_32.Lib"
编译ACE例子
cl unicast.cpp /I "C:\ACE_Wrappers" /DWIN32 /link "C:\ACE_Wrappers\lib\ACEd.lib"
Links
分享您的观点