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:
parent
759040d679
commit
c0d8154131
1 changed files with 7 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue