[Scummvm-cvs-logs] scummvm master -> c0d815413153b799f7a589d11f32a9a53f0d4de5

Littleboy littleboy22 at gmail.com
Fri Apr 1 01:39:49 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c0d8154131 TOOLS: Update Code::Blocks project generation


Commit: c0d815413153b799f7a589d11f32a9a53f0d4de5
    https://github.com/scummvm/scummvm/commit/c0d815413153b799f7a589d11f32a9a53f0d4de5
Author: Littleboy (littleboy at users.sourceforge.net)
Date: 2011-03-31T16:29:17-07:00

Commit Message:
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.

Changed paths:
    tools/create_project/codeblocks.cpp



diff --git a/tools/create_project/codeblocks.cpp b/tools/create_project/codeblocks.cpp
index b5fd743..d803fb0 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";
 	}






More information about the Scummvm-git-logs mailing list