ACE MPC工程工具使用集锦

对于详细的文档在$ACT_ROOT\mpc\docs.

1、这个文件依赖perl解释器,注意安装。

2、简单的入门文档*******************************************

  • 比如一段helloworld代码:
 
//@file: hello.cpp
//@auhtor:stone
//@date: 2005-11-2
#include "ace/Log_Msg.h"
int ACE_TMAIN(int, ACE_TCHAR**)
{
ACE_DEBUG((LM_DEBUG,ACE_TEXT("Hello ACE\n")));
return 0;
}
  •  建mpc 配置文件
 
project(hello) : aceexe {
  exename = hello
  after += hello
  
  Source_Files {
    hello.cpp
  }
}
 windows下  perl D:\ACE_wrappers/bin/mwc.pl -type vc71
linux 下    perl  ./mwc.pl -type vc71

  • 目前version 5.7支持的工程列表:
automake GNU Automake.
bcb2007 Borland C++ Builder 2007
bcb2009 CodeGear C++ Builder 2009
bds4 Support for Borland Developer Studio 4 is incomplete.
bmake Borland Make.
em3 eMbedded Visual C++ 3.00 and 4.00.
ghs Support for Green Hills C++ Builder is incomplete.
gnuace GNU Make for ACE/TAO/CIAO only (ACE/TAO/CIAO 
extension).
make
Generic make. The makefiles generated by this project type
can be used with any version of make. However, due to 
configuration issues, it should not be used with ACE or 
TAO.
nmake Microsoft NMake.
sle Support for Visual SlickEdit is incomplete.
vc6 Visual C++ 6.0.
vc7 Visual C++ 7.0.
vc71 Visual C++ 7.1.
vc8 Visual C++ 8.0.
vc9 Visual C++ 9.0.
vc10 Visual C++ 10.0.
wb26 WindRiver Workbench 2.6.
 
这块有点类似autoconf工具。

猜你喜欢

转载自raojl.iteye.com/blog/1169142
ACE