RedisServer.vcxproj 13.8 KB
Newer Older
H
Henry Rawas 已提交
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
4 5 6 7
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
H
Henry Rawas 已提交
8 9 10 11
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
12 13 14 15
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
H
Henry Rawas 已提交
16 17 18 19 20 21 22
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <Keyword>Win32Proj</Keyword>
J
Jonathan Pickett 已提交
23
    <ProjectGuid>{46842776-68A5-EC98-6A09-1859BBFC73AA}</ProjectGuid>
H
Henry Rawas 已提交
24 25 26 27 28
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
29
    <PlatformToolset>v120</PlatformToolset>
30
    <CLRSupport>false</CLRSupport>
H
Henry Rawas 已提交
31
  </PropertyGroup>
32 33 34 35 36 37
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v120</PlatformToolset>
    <CLRSupport>false</CLRSupport>
  </PropertyGroup>
H
Henry Rawas 已提交
38 39 40
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
41
    <PlatformToolset>v120</PlatformToolset>
H
Henry Rawas 已提交
42
  </PropertyGroup>
43 44 45 46 47
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v120</PlatformToolset>
  </PropertyGroup>
H
Henry Rawas 已提交
48 49 50 51 52 53
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
54 55 56
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
H
Henry Rawas 已提交
57 58 59
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
60 61 62
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
H
Henry Rawas 已提交
63 64
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
65
    <LinkIncremental>false</LinkIncremental>
H
Henry Rawas 已提交
66 67 68
    <TargetName>redis-server</TargetName>
    <GenerateManifest>false</GenerateManifest>
  </PropertyGroup>
69 70 71 72 73
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <LinkIncremental>false</LinkIncremental>
    <TargetName>redis-server</TargetName>
    <GenerateManifest>false</GenerateManifest>
  </PropertyGroup>
H
Henry Rawas 已提交
74 75 76 77 78
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <LinkIncremental>false</LinkIncremental>
    <TargetName>redis-server</TargetName>
    <GenerateManifest>false</GenerateManifest>
  </PropertyGroup>
79 80 81 82 83
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <LinkIncremental>false</LinkIncremental>
    <TargetName>redis-server</TargetName>
    <GenerateManifest>false</GenerateManifest>
  </PropertyGroup>
H
Henry Rawas 已提交
84 85
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <ClCompile>
86
      <PreprocessorDefinitions>WIN32;USE_DL_PREFIX;LACKS_STDLIB_H;_DEBUG;_CONSOLE;__x86_64__;%(PreprocessorDefinitions);USE_DLMALLOC;WIN32_IOCP</PreprocessorDefinitions>
H
Henry Rawas 已提交
87
      <AdditionalIncludeDirectories>$(SolutionDir)..\deps\lua\src;$(SolutionDir)..\deps\hiredis</AdditionalIncludeDirectories>
88
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
H
Henry Rawas 已提交
89 90 91 92
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <Optimization>Disabled</Optimization>
      <DisableSpecificWarnings>4996;4146</DisableSpecificWarnings>
93
      <WholeProgramOptimization>true</WholeProgramOptimization>
H
Henry Rawas 已提交
94 95 96 97 98
    </ClCompile>
    <Link>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <SubSystem>Console</SubSystem>
      <AdditionalLibraryDirectories>$(OutDir);$(OutDir)lib</AdditionalLibraryDirectories>
99
      <AdditionalDependencies>psapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;advapi32.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
100
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
101
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
J
Jonathan Pickett 已提交
102
      <IgnoreSpecificDefaultLibraries>MSVCRT.lib</IgnoreSpecificDefaultLibraries>
H
Henry Rawas 已提交
103 104
    </Link>
  </ItemDefinitionGroup>
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>WIN32;USE_DL_PREFIX;LACKS_STDLIB_H;_DEBUG;_CONSOLE;__x86_64__;%(PreprocessorDefinitions);USE_DLMALLOC;WIN32_IOCP</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(SolutionDir)..\deps\lua\src;$(SolutionDir)..\deps\hiredis</AdditionalIncludeDirectories>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <Optimization>Disabled</Optimization>
      <DisableSpecificWarnings>4996;4146</DisableSpecificWarnings>
      <WholeProgramOptimization>true</WholeProgramOptimization>
    </ClCompile>
    <Link>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <SubSystem>Console</SubSystem>
      <AdditionalLibraryDirectories>$(OutDir);$(OutDir)lib</AdditionalLibraryDirectories>
      <AdditionalDependencies>psapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;advapi32.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
      <IgnoreSpecificDefaultLibraries>MSVCRT.lib</IgnoreSpecificDefaultLibraries>
    </Link>
  </ItemDefinitionGroup>
H
Henry Rawas 已提交
126 127
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <ClCompile>
128
      <PreprocessorDefinitions>_WIN32IOCP;WIN32;USE_DL_PREFIX;LACKS_STDLIB_H;NDEBUG;_CONSOLE;__x86_64__;%(PreprocessorDefinitions);WIN32_IOCP;USE_DLMALLOC</PreprocessorDefinitions>
129
      <AdditionalIncludeDirectories>$(SolutionDir)..\deps\lua\src;$(SolutionDir)..\deps\hiredis</AdditionalIncludeDirectories>
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <DisableSpecificWarnings>4996;4146</DisableSpecificWarnings>
      <WholeProgramOptimization>true</WholeProgramOptimization>
    </ClCompile>
    <Link>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <SubSystem>Console</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalLibraryDirectories>$(OutDir);$(OutDir)lib</AdditionalLibraryDirectories>
      <AdditionalDependencies>psapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;advapi32.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
    </Link>
    <PostBuildEvent>
      <Command>powershell -executionpolicy unrestricted -command compressOutputToReleaseFolder.ps1</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>_WIN32IOCP;WIN32;USE_DL_PREFIX;LACKS_STDLIB_H;NDEBUG;_CONSOLE;__x86_64__;%(PreprocessorDefinitions);WIN32_IOCP;USE_DLMALLOC</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(SolutionDir)..\deps\lua\src;$(SolutionDir)..\deps\hiredis</AdditionalIncludeDirectories>
154
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
155 156 157
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <DisableSpecificWarnings>4996;4146</DisableSpecificWarnings>
158
      <WholeProgramOptimization>true</WholeProgramOptimization>
159 160 161 162 163 164 165
    </ClCompile>
    <Link>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <SubSystem>Console</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalLibraryDirectories>$(OutDir);$(OutDir)lib</AdditionalLibraryDirectories>
166
      <AdditionalDependencies>psapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;advapi32.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
167
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
168
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
H
Henry Rawas 已提交
169
    </Link>
170
    <PostBuildEvent>
171 172
      <Command>
      </Command>
173
    </PostBuildEvent>
H
Henry Rawas 已提交
174 175 176 177 178 179 180 181 182 183 184 185 186 187
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="..\src\adlist.c" />
    <ClCompile Include="..\src\ae.c" />
    <ClCompile Include="..\src\anet.c" />
    <ClCompile Include="..\src\aof.c" />
    <ClCompile Include="..\src\bio.c" />
    <ClCompile Include="..\src\bitops.c" />
    <ClCompile Include="..\src\config.c" />
    <ClCompile Include="..\src\crc64.c" />
    <ClCompile Include="..\src\db.c" />
    <ClCompile Include="..\src\debug.c" />
    <ClCompile Include="..\src\dict.c" />
    <ClCompile Include="..\src\endianconv.c" />
188
    <ClCompile Include="..\src\hyperloglog.c" />
H
Henry Rawas 已提交
189 190 191 192 193 194 195
    <ClCompile Include="..\src\intset.c" />
    <ClCompile Include="..\src\lzf_c.c" />
    <ClCompile Include="..\src\lzf_d.c" />
    <ClCompile Include="..\src\memtest.c" />
    <ClCompile Include="..\src\migrate.c" />
    <ClCompile Include="..\src\multi.c" />
    <ClCompile Include="..\src\networking.c" />
196
    <ClCompile Include="..\src\notify.c" />
H
Henry Rawas 已提交
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
    <ClCompile Include="..\src\object.c" />
    <ClCompile Include="..\src\pqsort.c" />
    <ClCompile Include="..\src\pubsub.c" />
    <ClCompile Include="..\src\rand.c" />
    <ClCompile Include="..\src\rdb.c" />
    <ClCompile Include="..\src\redis.c" />
    <ClCompile Include="..\src\release.c" />
    <ClCompile Include="..\src\replication.c" />
    <ClCompile Include="..\src\rio.c" />
    <ClCompile Include="..\src\scripting.c" />
    <ClCompile Include="..\src\sds.c" />
    <ClCompile Include="..\src\sentinel.c" />
    <ClCompile Include="..\src\sha1.c" />
    <ClCompile Include="..\src\slowlog.c" />
    <ClCompile Include="..\src\sort.c" />
    <ClCompile Include="..\src\syncio.c" />
    <ClCompile Include="..\src\t_hash.c" />
    <ClCompile Include="..\src\t_list.c" />
    <ClCompile Include="..\src\t_set.c" />
    <ClCompile Include="..\src\t_string.c" />
    <ClCompile Include="..\src\t_zset.c" />
    <ClCompile Include="..\src\util.c" />
    <ClCompile Include="..\src\ziplist.c" />
    <ClCompile Include="..\src\zipmap.c" />
    <ClCompile Include="..\src\zmalloc.c" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\src\adlist.h" />
    <ClInclude Include="..\src\ae.h" />
    <ClInclude Include="..\src\anet.h" />
    <ClInclude Include="..\src\bio.h" />
    <ClInclude Include="..\src\config.h" />
    <ClInclude Include="..\src\dict.h" />
    <ClInclude Include="..\src\endianconv.h" />
    <ClInclude Include="..\src\fmacros.h" />
    <ClInclude Include="..\src\help.h" />
    <ClInclude Include="..\src\intset.h" />
    <ClInclude Include="..\src\lzf.h" />
    <ClInclude Include="..\src\lzfP.h" />
    <ClInclude Include="..\src\pqsort.h" />
    <ClInclude Include="..\src\rand.h" />
    <ClInclude Include="..\src\rdb.h" />
    <ClInclude Include="..\src\redis.h" />
    <ClInclude Include="..\src\rio.h" />
    <ClInclude Include="..\src\sds.h" />
    <ClInclude Include="..\src\sha1.h" />
    <ClInclude Include="..\src\slowlog.h" />
    <ClInclude Include="..\src\solarisfixes.h" />
    <ClInclude Include="..\src\testhelp.h" />
    <ClInclude Include="..\src\util.h" />
    <ClInclude Include="..\src\version.h" />
    <ClInclude Include="..\src\ziplist.h" />
    <ClInclude Include="..\src\zipmap.h" />
    <ClInclude Include="..\src\zmalloc.h" />
  </ItemGroup>
252
  <ItemGroup>
253
    <ProjectReference Include="..\src\Win32_Interop\Win32_Interop.vcxproj">
254 255
      <Project>{8c07f811-c81c-432c-b334-1ae6faecf951}</Project>
    </ProjectReference>
256 257 258 259 260 261
    <ProjectReference Include="hiredis\hiredis.vcxproj">
      <Project>{13e85053-54b3-487b-8ddb-3430b1c1b3bf}</Project>
    </ProjectReference>
    <ProjectReference Include="lua\lua\lua.vcxproj">
      <Project>{170b0909-5f75-467f-9501-c99dec16c6dc}</Project>
    </ProjectReference>
262
  </ItemGroup>
263 264 265
  <ItemGroup>
    <Resource Include="..\src\Win32_Interop\resources\EventLog.res" />
  </ItemGroup>
H
Henry Rawas 已提交
266 267 268 269
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>