commandgenerator.cpp 252 B

123456789101112131415
  1. #include <fstream>
  2. #include "object.h"
  3. int main(int argc, char **argv)
  4. {
  5. std::fstream fout;
  6. fout.open("commandoutput.h", std::ios::out);
  7. if (!fout)
  8. return 1;
  9. fout << "#define COMMANDOUTPUT_DEFINE\n";
  10. fout.close();
  11. return object();
  12. }