https://github.com/geodynamics/citcoms
Revision faabbdc62cac3298c03aab5d75fb0910d893ce81 authored by Rajesh Kommu on 05 September 2014, 17:17:15 UTC, committed by Rajesh Kommu on 05 September 2014, 17:17:15 UTC
1 parent d362fe7
Tip revision: faabbdc62cac3298c03aab5d75fb0910d893ce81 authored by Rajesh Kommu on 05 September 2014, 17:17:15 UTC
removed std=c++11 from Py2C/Makefile.am
removed std=c++11 from Py2C/Makefile.am
Tip revision: faabbdc
Py2CMain.cpp
#include "Py2C.hpp"
int main(int argc, char* argv[])
{
if( argc != 4)
{
std::cerr << "Usage: Py2C infile outfile true|false" << std::endl;
exit(-1);
}
Py2CConverter py2c(argv[1], argv[2]);
bool save_all = (std::string(argv[3])=="true"?true:false);
py2c.convert(save_all);
}
Computing file changes ...