2 #include <bbtkInterpreter.h>
3 #include <bbtkConfigurationFile.h>
5 //==========================================================================
6 int main(int argc, char **argv)
10 bbtk::MessageManager::SetMessageLevel("max",0);
15 bbtk::Interpreter::Pointer I = bbtk::Interpreter::New();
16 I->SetCommandLine(true);
20 std::string doc_path = bbtk::ConfigurationFile::GetInstance().Get_doc_path();
21 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
23 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
25 I->InterpretLine( "exec freeze");
26 I->InterpretLine( "include *");
27 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Initials,doc_path + "index-alpha.html");
28 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Packages,doc_path + "index-package.html");
29 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Categories,doc_path + "index-category.html");
30 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Adaptors,doc_path + "index-adaptors.html");
33 catch (bbtk::Exception e)
35 std::cout << "* ERROR : "<<e.GetErrorMessage()<<std::endl;
40 //==========================================================================