2004-01-12 07:19:48 +00:00
|
|
|
//
|
|
|
|
// $HEADER$
|
|
|
|
// Function: - wrapper for C++ program compilation
|
|
|
|
//
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "tools/wrappers/ompi_wrap.h"
|
2004-01-12 07:19:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
// The four wrapper compilers are extremely similar. So similar,
|
|
|
|
// in fact, that they can be parameterized on what is different.
|
|
|
|
// Hence, we call the "wrapper compiler engine" to do all the work,
|
|
|
|
// and pass in just a few arguments to customize for the language of
|
|
|
|
// this wrapper compiler.
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
ompi_sv_t str_vec;
|
2004-01-12 07:19:48 +00:00
|
|
|
|
|
|
|
str_vec.clear();
|
2004-06-07 15:33:53 +00:00
|
|
|
str_vec.push_back("OMPI_MPICXX");
|
|
|
|
str_vec.push_back("OMPI_CXX");
|
2004-01-12 07:19:48 +00:00
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
return ompi_wrap_engine(argc, argv,
|
|
|
|
str_vec, OMPI_CXX,true, false,
|
2004-01-12 07:19:48 +00:00
|
|
|
WRAPPER_EXTRA_CXXFLAGS);
|
|
|
|
}
|