CREATE_PROJECT: Fix wrong paths for linker and resource compiler in MSVC7/8.

This is a regression from 500ae85c, which accidently removed the
AdditionalLibraryDirectories settings for the VCLinkerTool and set the value
of AdditionalIncludeDirectories of the VCResourceCompilerTool to the former
AdditionalLibraryDirectories value.
This commit is contained in:
Johannes Schickel 2011-04-08 18:50:02 +02:00
parent 9e6a640d8d
commit 0a176b5476

View file

@ -230,11 +230,12 @@ void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int b
"\t\tIgnoreDefaultLibraryNames=\"\"\n"
"\t\tSubSystem=\"1\"\n"
"\t\tEntryPointSymbol=\"WinMainCRTStartup\"\n"
"\t\tAdditionalLibraryDirectories=\"$(SCUMMVM_LIBS)\\lib\\" << ((bits == 32) ? "x86" : "x64") << "\"\n"
"\t/>\n"
"\t<Tool\n"
"\t\tName=\"VCResourceCompilerTool\"\n"
"\t\tPreprocessorDefinitions=\"HAS_INCLUDE_SET\"\n"
"\t\tAdditionalIncludeDirectories=\"$(SCUMMVM_LIBS)\\lib\\" << (bits == 32 ? "x86" : "x64") << "\"\n"
"\t\tAdditionalIncludeDirectories=\"" << prefix << "\"\n"
"\t/>\n"
"</VisualStudioPropertySheet>\n";