aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-07-23 19:06:38 +0000
committerJohannes Schickel2010-07-23 19:06:38 +0000
commit824a3c3ca1c1a0587a24db0e5b1ca6db6849aae4 (patch)
tree8e0cff493d5fabb97bc06ba81785547b0538a021
parentdeef8bb650e980140a731490e3f6519a4ae4da60 (diff)
downloadscummvm-rg350-824a3c3ca1c1a0587a24db0e5b1ca6db6849aae4.tar.gz
scummvm-rg350-824a3c3ca1c1a0587a24db0e5b1ca6db6849aae4.tar.bz2
scummvm-rg350-824a3c3ca1c1a0587a24db0e5b1ca6db6849aae4.zip
TOOLS: Preliminary SCUMMVM_LIBS support for msvc8/9.
Currently %(SCUMMVM_LIBS)/bin is not added to the executable path, since I can not find any easy way to do that. The libs and include setting should be fine though. svn-id: r51214
-rw-r--r--tools/create_msvc/create_msvc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp
index 0855bf9de2..8e2a6011b4 100644
--- a/tools/create_msvc/create_msvc.cpp
+++ b/tools/create_msvc/create_msvc.cpp
@@ -1665,7 +1665,7 @@ void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int b
"\t\tName=\"VCCLCompilerTool\"\n"
"\t\tDisableLanguageExtensions=\"true\"\n"
"\t\tDisableSpecificWarnings=\"" << _globalWarnings << "\"\n"
- "\t\tAdditionalIncludeDirectories=\"" << prefix << ";" << prefix << "\\engines\"\n"
+ "\t\tAdditionalIncludeDirectories=\"" << prefix << ";" << prefix << "\\engines;%(SCUMMVM_LIBS)\\include\"\n"
"\t\tPreprocessorDefinitions=\"" << defines << "\"\n"
"\t\tExceptionHandling=\"0\"\n"
"\t\tRuntimeTypeInfo=\"false\"\n"
@@ -1682,6 +1682,7 @@ void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int b
"\t\tIgnoreDefaultLibraryNames=\"\"\n"
"\t\tSubSystem=\"1\"\n"
"\t\tEntryPointSymbol=\"WinMainCRTStartup\"\n"
+ "\t\tAdditionalLibraryDirectories=\"%(SCUMMVM_LIBS)\\libs\\" << (isWin32 ? "x86" : "x64") << "\"\n"
"\t/>\n"
"\t<Tool\n"
"\t\tName=\"VCResourceCompilerTool\"\n"