diff options
author | Littleboy | 2011-03-31 19:29:17 -0400 |
---|---|---|
committer | Littleboy | 2011-03-31 19:29:17 -0400 |
commit | c0d815413153b799f7a589d11f32a9a53f0d4de5 (patch) | |
tree | a273898be71b1c24a5d9c746589368a7037d7d6f /tools/create_project | |
parent | 759040d6793b1a2302f9150ae587634fbff25b91 (diff) | |
download | scummvm-rg350-c0d815413153b799f7a589d11f32a9a53f0d4de5.tar.gz scummvm-rg350-c0d815413153b799f7a589d11f32a9a53f0d4de5.tar.bz2 scummvm-rg350-c0d815413153b799f7a589d11f32a9a53f0d4de5.zip |
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.
Diffstat (limited to 'tools/create_project')
-rw-r--r-- | tools/create_project/codeblocks.cpp | 9 |
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"; } |