Browse Source

build: fuck msbuild, again.

legacy
Sam Hocevar sam 12 years ago
parent
commit
50d5c11e67
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      build/vs2010/Lol.Core.Rules.props

+ 2
- 2
build/vs2010/Lol.Core.Rules.props View File

@@ -20,8 +20,8 @@

<!-- The "\\" replacement is a hack for the SNC VSI; the proper way to
do that is using $([System.Text.RegularExpressions.Regex]...) -->
<PreprocessorDefinitions>LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace(@"\\",@"\").Replace(@"\",@"\\"))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace(@"\\",@"\").Replace(@"\",@"\\"))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\\','\').Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\\','\').Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>

<PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>


Loading…
Cancel
Save