aboutsummaryrefslogtreecommitdiff
path: root/tools/create_project
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create_project')
-rw-r--r--tools/create_project/codeblocks.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/create_project/codeblocks.cpp b/tools/create_project/codeblocks.cpp
index b5fd743ee1..d803fb0a37 100644
--- a/tools/create_project/codeblocks.cpp
+++ b/tools/create_project/codeblocks.cpp
@@ -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";
}