2 #include <bbtkInterpreter.h>
3 #include <bbtkConfigurationFile.h>
5 //==========================================================================
6 int main(int argc, char **argv)
11 bbtk::Interpreter::Pointer I = bbtk::Interpreter::New();
12 I->SetCommandLine(true);
16 std::string doc_path = bbtk::ConfigurationFile::GetInstance().Get_doc_path();
17 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
19 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
21 I->InterpretLine( "exec freeze");
22 I->InterpretLine( "include *");
23 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Initials,doc_path + "index-alpha.html");
24 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Packages,doc_path + "index-package.html");
25 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Categories,doc_path + "index-category.html");
26 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Adaptors,doc_path + "index-adaptors.html");
29 catch (bbtk::Exception e)
31 std::cout << "* ERROR : "<<e.GetErrorMessage()<<std::endl;
36 //==========================================================================