|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 | <ItemGroup Label="ProjectConfigurations">
|
| 4 | + <ProjectConfiguration Include="Custom Debug|Win32"> |
| 5 | + <Configuration>Custom Debug</Configuration> |
| 6 | + <Platform>Win32</Platform> |
| 7 | + </ProjectConfiguration> |
| 8 | + <ProjectConfiguration Include="Custom Debug|x64"> |
| 9 | + <Configuration>Custom Debug</Configuration> |
| 10 | + <Platform>x64</Platform> |
| 11 | + </ProjectConfiguration> |
4 | 12 | <ProjectConfiguration Include="Debug|Win32">
|
5 | 13 | <Configuration>Debug</Configuration>
|
6 | 14 | <Platform>Win32</Platform>
|
|
36 | 44 | <ConfigurationType>DynamicLibrary</ConfigurationType>
|
37 | 45 | <PlatformToolset>v120</PlatformToolset>
|
38 | 46 | </PropertyGroup>
|
| 47 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'" Label="Configuration"> |
| 48 | + <ConfigurationType>DynamicLibrary</ConfigurationType> |
| 49 | + <PlatformToolset>v120</PlatformToolset> |
| 50 | + </PropertyGroup> |
39 | 51 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
40 | 52 | <ConfigurationType>DynamicLibrary</ConfigurationType>
|
41 | 53 | <PlatformToolset>v120</PlatformToolset>
|
42 | 54 | </PropertyGroup>
|
| 55 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'" Label="Configuration"> |
| 56 | + <ConfigurationType>DynamicLibrary</ConfigurationType> |
| 57 | + <PlatformToolset>v120</PlatformToolset> |
| 58 | + </PropertyGroup> |
43 | 59 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
44 | 60 | <ImportGroup Label="ExtensionSettings">
|
45 | 61 | </ImportGroup>
|
|
52 | 68 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
53 | 69 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
54 | 70 | </ImportGroup>
|
| 71 | + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'" Label="PropertySheets"> |
| 72 | + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 73 | + </ImportGroup> |
55 | 74 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
56 | 75 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
57 | 76 | </ImportGroup>
|
| 77 | + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'" Label="PropertySheets"> |
| 78 | + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 79 | + </ImportGroup> |
58 | 80 | <PropertyGroup Label="UserMacros" />
|
59 | 81 | <PropertyGroup>
|
60 | 82 | <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
61 | 83 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
|
| 84 | + <OutDir Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir> |
62 | 85 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)\</OutDir>
|
| 86 | + <OutDir Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'">$(SolutionDir)\$(Configuration)\</OutDir> |
63 | 87 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
|
| 88 | + <IntDir Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'">$(Configuration)\</IntDir> |
64 | 89 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir>
|
| 90 | + <IntDir Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'">$(Configuration)\</IntDir> |
65 | 91 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
|
66 | 92 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)\</IntDir>
|
67 | 93 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
| 94 | + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
68 | 95 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
| 96 | + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
69 | 97 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
| 98 | + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'" /> |
70 | 99 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
| 100 | + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'" /> |
71 | 101 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
| 102 | + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'" /> |
72 | 103 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
| 104 | + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'" /> |
73 | 105 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
74 | 106 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
75 | 107 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
78 | 110 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
79 | 111 | <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.dll</TargetExt>
|
80 | 112 | <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.dll</TargetExt>
|
| 113 | + <TargetExt Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'">.dll</TargetExt> |
81 | 114 | <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.dll</TargetExt>
|
82 | 115 | </PropertyGroup>
|
| 116 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'"> |
| 117 | + <CustomBuildBeforeTargets>Build</CustomBuildBeforeTargets> |
| 118 | + <EnableManagedIncrementalBuild>true</EnableManagedIncrementalBuild> |
| 119 | + </PropertyGroup> |
83 | 120 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
84 | 121 | <ClCompile>
|
85 | 122 | <Optimization>Disabled</Optimization>
|
|
100 | 137 | </Command>
|
101 | 138 | </PostBuildEvent>
|
102 | 139 | </ItemDefinitionGroup>
|
| 140 | + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|Win32'"> |
| 141 | + <ClCompile> |
| 142 | + <Optimization>Disabled</Optimization> |
| 143 | + <AdditionalIncludeDirectories>dependencies\build_dir\pcre\include;dependencies\build_dir\pcre;dependencies\build_dir\libxml2\include;dependencies\build_dir\apache24\include;..\apache2;..\standalone;dependencies\build_dir\lloyd-yajl-f4b2b1a\build\yajl-2.0.1\include;</AdditionalIncludeDirectories> |
| 144 | + <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC;VERSION_IIS</PreprocessorDefinitions> |
| 145 | + <PrecompiledHeader>NotUsing</PrecompiledHeader> |
| 146 | + <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> |
| 147 | + <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile> |
| 148 | + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
| 149 | + </ClCompile> |
| 150 | + <Link> |
| 151 | + <ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile> |
| 152 | + <GenerateDebugInformation>true</GenerateDebugInformation> |
| 153 | + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\apache24\lib\libapr-1.lib;dependencies\build_dir\apache24\lib\libaprutil-1.lib;dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib;dependencies\build_dir\yajl\build\yajl-2.0.1\lib\yajl.lib</AdditionalDependencies> |
| 154 | + </Link> |
| 155 | + <PostBuildEvent> |
| 156 | + <Command> |
| 157 | + </Command> |
| 158 | + </PostBuildEvent> |
| 159 | + </ItemDefinitionGroup> |
103 | 160 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
104 | 161 | <ClCompile>
|
105 | 162 | <Optimization>Disabled</Optimization>
|
|
124 | 181 | </Command>
|
125 | 182 | </PostBuildEvent>
|
126 | 183 | </ItemDefinitionGroup>
|
| 184 | + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Custom Debug|x64'"> |
| 185 | + <ClCompile> |
| 186 | + <Optimization>Disabled</Optimization> |
| 187 | + <AdditionalIncludeDirectories>dependencies\build_dir\pcre\include;dependencies\build_dir\pcre;dependencies\build_dir\libxml2\include;..\apache2;..\standalone;dependencies\build_dir\apache24\include;dependencies\build_dir\lloyd-yajl-f4b2b1a\build\yajl-2.0.1\include;</AdditionalIncludeDirectories> |
| 188 | + <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC</PreprocessorDefinitions> |
| 189 | + <PrecompiledHeader>NotUsing</PrecompiledHeader> |
| 190 | + <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> |
| 191 | + <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile> |
| 192 | + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
| 193 | + </ClCompile> |
| 194 | + <Link> |
| 195 | + <ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile> |
| 196 | + <GenerateDebugInformation>true</GenerateDebugInformation> |
| 197 | + <AdditionalDependencies>kernel32.lib;IPHLPAPI.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\apache24\lib\libapr-1.lib;dependencies\build_dir\apache24\lib\libaprutil-1.lib;dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib;dependencies\build_dir\yajl\build\yajl-2.0.1\lib\yajl.lib;</AdditionalDependencies> |
| 198 | + <AdditionalLibraryDirectories> |
| 199 | + </AdditionalLibraryDirectories> |
| 200 | + <AdditionalOptions> |
| 201 | + </AdditionalOptions> |
| 202 | + </Link> |
| 203 | + <PreBuildEvent> |
| 204 | + <Command>net stop W3SVC /y</Command> |
| 205 | + </PreBuildEvent> |
| 206 | + <PostBuildEvent> |
| 207 | + <Command>copy $(SolutionDir)\$(Configuration)\ModSecurityIIS.dll C:\Windows\System32\inetsrv\</Command> |
| 208 | + <Command>copy "$(SolutionDir)\$(Configuration)\ModSecurityIIS.dll" "C:\Windows\Sysnative\inetsrv\ModSecurityIIS.dll" |
| 209 | +copy "$(SolutionDir)\$(Configuration)\ModSecurityIIS.dll" "C:\Windows\SysWOW64\inetsrv\ModSecurityIIS.dll" |
| 210 | +echo "$(SolutionDir)\$(Configuration)\ModSecurityIIS.dll" "C:\Windows\Sysnative\inetsrv\ModSecurityIIS.dll" |
| 211 | +echo "$(SolutionDir)\$(Configuration)\ModSecurityIIS.dll" "C:\Windows\SysWOW64\inetsrv\ModSecurityIIS.dll" |
| 212 | + |
| 213 | +net start W3SVC /y</Command> |
| 214 | + </PostBuildEvent> |
| 215 | + </ItemDefinitionGroup> |
127 | 216 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
128 | 217 | <ClCompile>
|
129 | 218 | <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC;VERSION_IIS</PreprocessorDefinitions>
|
|
0 commit comments