TOOLS: Update Code::Blocks project generation

The Sword2.5 engine needs access to vorbis and theora headers. This patch adds the scummvm libs include directory to the include search path for this engine.
This commit is contained in:
Littleboy 2011-03-31 19:29:17 -04:00
parent 759040d679
commit c0d8154131

View file

@ -163,8 +163,13 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s
project << "\t\t\t\t\t<Add option=\"-g\" />\n"
"\t\t\t\t\t<Add directory=\"..\\..\\engines\" />\n"
"\t\t\t\t\t<Add directory=\"..\\..\\..\\scummvm\" />\n"
"\t\t\t\t</Compiler>\n"
"\t\t\t\t\t<Add directory=\"..\\..\\..\\scummvm\" />\n";
// Sword2.5 engine needs theora and vorbis includes
if (name == "sword25")
project << "\t\t\t\t\t<Add directory=\"$(SCUMMVM_LIBS)include\" />\n";
project << "\t\t\t\t</Compiler>\n"
"\t\t\t</Target>\n"
"\t\t</Build>\n";
}