8.9 C++ Support
Automake includes full support for C++.
Any package including C++ code must define the output variable CXX in ‘configure.ac’;
the simplest way to do this is to use the AC_PROG_CXX macro (see Section “ParticularProgram Checks” in The Autoconf Manual).
A few additional variables are defined when a C++ source file is seen:
阅读(609) | 评论(0) | 转发(0) |
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
Automake includes full support for C++.
Any package including C++ code must define the output variable CXX in ‘configure.ac’;
the simplest way to do this is to use the AC_PROG_CXX macro (see Section “ParticularProgram Checks” in The Autoconf Manual).
A few additional variables are defined when a C++ source file is seen:
- CXX,The name of the C++ compiler.
- CXXFLAGS,Any flags to pass to the C++ compiler.
- AM_CXXFLAGS,The maintainer’s variant of CXXFLAGS. CXXFLAGS的变体
- CXXCOMPILE,The command used to actually compile a C++ source file. The file name is appended to form the complete command line.
- CXXLINK,The command used to actually link a C++ program.
相关热门文章
给主人留下些什么吧!~~
评论热议