From b00282a79f4d6b8b9c4e8578899c7c9d62ee5683 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 21 Jan 2013 21:51:25 +0000 Subject: [PATCH] build: try to bypass a SNC VSI issue with string replacements. --- build/vs2010/Lol.Core.Rules.props | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/vs2010/Lol.Core.Rules.props b/build/vs2010/Lol.Core.Rules.props index 1d69ec58..a7984818 100644 --- a/build/vs2010/Lol.Core.Rules.props +++ b/build/vs2010/Lol.Core.Rules.props @@ -17,8 +17,12 @@ $(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories) $(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories) NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\',"\\"))";%(PreprocessorDefinitions) - LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\',"\\"))";%(PreprocessorDefinitions) + + + LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace(@"\\",@"\").Replace(@"\",@"\\"))";%(PreprocessorDefinitions) + LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace(@"\\",@"\").Replace(@"\",@"\\"))";%(PreprocessorDefinitions) + WIN32;$(Win32Defines);%(PreprocessorDefinitions) WIN32;$(Win32Defines);%(PreprocessorDefinitions) _XBOX;$(XboxDefines);%(PreprocessorDefinitions)