Get mutlifile compilation working again and add a test for it

This commit is contained in:
Jason Turner
2010-10-22 21:30:58 +00:00
parent bff5b8bce0
commit 67bad374a9
9 changed files with 1474 additions and 1468 deletions

View File

@@ -0,0 +1,14 @@
#include "multifile_test_chai.hpp"
#include "multifile_test_module.hpp"
#include <chaiscript/chaiscript.hpp>
int main()
{
Multi_Test_Chai chaitest;
Multi_Test_Module chaimodule;
boost::shared_ptr<chaiscript::ChaiScript> chai = chaitest.get_chai();
chai->add(chaimodule.get_module());
return chai->eval<int>("get_module_value()");
}