size_t result_len;
#ifdef WIN32
static int diff_call = 1, first_call = 1;
+ const char *expected_dir = "\\expected\\";
+#else
+ const char *expected_dir = "/expected/";
#endif
int diff_rtn;
int i, j;
size_t expected_len;
if (outputno == 0)
- snprintf(filename, sizeof(filename), "%s/expected/%s.out", inputdir, testname);
+ snprintf(filename, sizeof(filename), "%s%s%s.out", inputdir, expected_dir, testname);
else
- snprintf(filename, sizeof(filename), "%s/expected/%s_%d.out", inputdir, testname, outputno);
+ snprintf(filename, sizeof(filename), "%s%s%s_%d.out", inputdir, expected_dir, testname, outputno);
expected = slurpfile(filename, &expected_len);
if (expected == NULL)
{
--- /dev/null
+#
+generated_regress.vcxproj
+/test_x86
+/test_x64
--- /dev/null
+function Get-MSBuild([ref]$VCVersion, [ref]$MSToolsVersion, [ref]$Toolset, $configInfo)
+{
+ $path_save = ${env:PATH}
+
+ $VisualStudioVersion=$VCVersion.Value
+ $MSToolsVersionv=$MSToolsVersion.Value
+ $Toolsetv=$Toolset.Value
+
+ $WSDK71Set="Windows7.1SDK"
+ $refnum=""
+ Write-Debug "VCVersion=$VCVersionv $env:VisualStudioVersion"
+#
+# Determine VisualStudioVersion
+#
+ if (("$VisualStudioVersion" -eq "") -And ($configInfo -ne $null)) {
+ $VisualStudioVersion=$configInfo.Configuration.vcversion
+ }
+ if ("$VisualStudioVersion" -eq "") {
+ $VisualStudioVersion = $env:VisualStudioVersion # VC11 or later version of C++ command prompt sets this variable
+ }
+ if ("$VisualStudioVersion" -eq "") {
+ if ("${env:WindowsSDKVersionOverride}" -eq "v7.1") { # SDK7.1+ command prompt
+ $VisualStudioVersion = "10.0"
+ } elseif ("${env:VCInstallDir}" -ne "") { # C++ command prompt
+ if ("${env:VCInstallDir}" -match "Visual Studio\s*(\S+)\\VC\\$") {
+ $VisualStudioVersion = $matches[1]
+ }
+ }
+ }
+# neither C++ nor SDK prompt
+ if ("$VisualStudioVersion" -eq "") {
+ if ("${env:VS120COMNTOOLS}" -ne "") { # VC12 is installed (current official)
+ $VisualStudioVersion = "12.0"
+ } elseif ("${env:VS100COMNTOOLS}" -ne "") { # VC10 is installed
+ $VisualStudioVersion = "10.0"
+ } elseif ("${env:VS140COMNTOOLS}" -ne "") { # VC14 is installed
+ $VisualStudioVersion = "14.0"
+ } elseif ("${env:VS110COMNTOOLS}" -ne "") { # VC11 is installed
+ $VisualStudioVersion = "11.0"
+ } else {
+ Write-Error "Visual Studio >= 10.0 not found" -Category InvalidArgument;return
+ }
+ } elseif ([int]::TryParse($VisualStudioVersion, [ref]$refnum)) {
+ $VisualStudioVersion="${refnum}.0"
+ }
+# Check VisualStudioVersion and prepare for ToolsVersion
+ switch ($VisualStudioVersion) {
+ "10.0" { $tv = "4.0" }
+ "11.0" { $tv = "4.0" }
+ "12.0" { $tv = "12.0" }
+ "14.0" { $tv = "14.0" }
+ default { Write-Error "Selected Visual Stuidio is Version ${VisualStudioVersion}. Please use VC10 or later" -Category InvalidArgument; return }
+ }
+#
+# Determine ToolsVersion
+#
+ if ("$MSToolsVersionv" -eq "") {
+ $MSToolsVersionv=$env:ToolsVersion
+ }
+ if ("$MSToolsVersionv" -eq "") {
+ $MSToolsVersionv = $tv
+ } elseif ([int]::TryParse($MSToolsVersionv, [ref]$refnum)) {
+ $MSToolsVersionv="${refnum}.0"
+ }
+#
+# Determine MSBuild executable
+#
+ Write-Debug "ToolsVersion=$MSToolsVersionv VisualStudioVersion=$VisualStudioVersion"
+ try {
+ $msbver = invoke-expression "msbuild /ver /nologo"
+ if ("$msbver" -match "^(\d+)\.(\d+)") {
+ $major1 = [int] $matches[1]
+ $minor1 = [int] $matches[2]
+ if ($MSToolsVersionv -match "^(\d+)\.(\d+)") {
+ $bavail = $false
+ $major2 = [int] $matches[1]
+ $minor2 = [int] $matches[2]
+ if ($major1 -gt $major2) {
+ Write-Debug "$major1 > $major2"
+ $bavail = $true
+ }
+ elseif ($major1 -eq $major2 -And $minor1 -ge $minor2) {
+ Write-Debug "($major1, $minor1) >= ($major2, $minor2)"
+ $bavail = $true
+ }
+ if ($bavail) {
+ $msbuildexe = "MSBuild"
+ }
+ }
+ }
+ } catch {}
+ if ("$msbuildexe" -eq "") {
+ $msbindir=""
+ $regKey="HKLM:\Software\Wow6432Node\Microsoft\MSBuild\ToolsVersions\${MSToolsVersionv}"
+ if (Test-Path -path $regkey) {
+ $msbitem=Get-ItemProperty $regKey
+ if ($msbitem -ne $null) {
+ $msbindir=$msbitem.MSBuildToolsPath
+ }
+ } else {
+ $regKey="HKLM:\Software\Microsoft\MSBuild\ToolsVersions\${MSToolsVersionv}"
+ if (Test-Path -path $regkey) {
+ $msbitem=Get-ItemProperty $regKey
+ if ($msbitem -ne $null) {
+ $msbindir=$msbitem.MSBuildToolsPath
+ }
+ } else {
+ Write-Error "MSBuild ToolsVersion $MSToolsVersionv not Found" -Category NotInstalled; return
+ }
+ }
+ $msbuildexe = "$msbindir\msbuild"
+ }
+#
+# Determine PlatformToolset
+#
+ if (("$Toolsetv" -eq "") -And ($configInfo -ne $null)) {
+ $Toolsetv=$configInfo.Configuration.toolset
+ }
+ if ("$Toolsetv" -eq "") {
+ $Toolsetv=$env:PlatformToolset
+ }
+ if ("$Toolsetv" -eq "") {
+ switch ($VisualStudioVersion) {
+ "10.0" {
+ if (Test-path "HKLM:\Software\Microsoft\Microsoft SDKs\Windows\v7.1") {
+ $Toolsetv=$WSDK71Set
+ } else {
+ $Toolsetv="v100"
+ }
+ }
+ "11.0" {$Toolsetv="v110_xp"}
+ "12.0" {$Toolsetv="v120_xp"}
+ "14.0" {$Toolsetv="v140_xp"}
+ }
+ }
+# avoid a bug of Windows7.1SDK PlatformToolset
+ if ($Toolsetv -eq $WSDK71Set) {
+ $env:TARGET_CPU=""
+ }
+# Restore PATH & current directory
+ $env:PATH = $path_save
+#
+ $VCVersion.value=$VisualStudioVersion
+ $MSToolsVersion.value=$MSToolsVersionv
+ $Toolset.value=$Toolsetv
+
+ return $msbuildexe
+}
--- /dev/null
+<#
+.SYNOPSIS
+ Build all dlls of psqlodbc project using MSbuild.
+.DESCRIPTION
+ Build test programs and run them.
+.PARAMETER Target
+ Specify the target of MSBuild. "Build"(default) or
+ "Clean" is available.
+.PARAMETER VCVersion
+ Visual Studio version is determined automatically unless this
+ option is specified.
+.PARAMETER Platform
+ Specify build platforms, "Win32"(default), "x64" or "both" is available.
+.PARAMETER Toolset
+ MSBuild PlatformToolset is determined automatically unless this
+ option is specified. Currently "v100", "Windows7.1SDK", "v110",
+ "v110_xp", "v120", "v120_xp", "v140" or "v140_xp" is available.
+.PARAMETER MSToolsVersion
+ MSBuild ToolsVersion is detemrined automatically unless this
+ option is specified. Currently "4.0", "12.0" or "14.0" is available.
+.PARAMETER Configuration
+ Specify "Release"(default) or "Debug".
+.PARAMETER BuildConfigPath
+ Specify the configuration xml file name if you want to use
+ the configuration file other than standard one.
+ The relative path is relative to the current directory.
+.EXAMPLE
+ > .\regress
+ Build with default or automatically selected parameters
+ and run them.
+.EXAMPLE
+ > .\regress Clean
+ Clean all generated files.
+.EXAMPLE
+ > .\regress -V(CVersion) 14.0
+ Build using Visual Studio 11.0 environment.
+.EXAMPLE
+ > .\regress -P(latform) x64
+ Build only 64bit dlls.
+.NOTES
+ Author: Hiroshi Inoue
+ Date: August 2, 2016
+#>
+
+#
+# build 32bit & 64bit dlls for VC10 or later
+#
+Param(
+[ValidateSet("Build", "Clean")]
+[string]$Target="Build",
+[string]$VCVersion,
+[ValidateSet("Win32", "x64", "both")]
+[string]$Platform="Win32",
+[string]$Toolset,
+[ValidateSet("", "4.0", "12.0", "14.0")]
+[string]$MSToolsVersion,
+[ValidateSet("Debug", "Release")]
+[String]$Configuration="Release",
+[string]$BuildConfigPath
+)
+
+
+function vcxfile_make($testsf, $vcxfile, $usingExe)
+{
+ $testnames=@()
+ $testexes=@()
+ $f = (Get-Content -Path $testsf) -as [string[]]
+ $nstart=$false
+ foreach ($l in $f) {
+ if ($l[0] -eq "#") {
+ continue
+ }
+ $sary=-split $l
+ if ($sary[0] -eq "#") {
+ continue
+ }
+ if ($sary[0] -eq "TESTBINS") {
+ $nstart=$true
+ $sary[0]=$null
+ if ($sary[1] -eq "=") {
+ $sary[1]=$null
+ }
+ }
+ if ($nstart) {
+ if ($sary[$sary.length - 1] -eq "\") {
+ $sary[$sary.length - 1] = $null
+ } else {
+ $nstart=$false
+ }
+ $testnames+=$sary
+ if (-not $nstart) {
+ break
+ }
+ }
+ }
+ for ($i=0; $i -lt $testnames.length; $i++) {
+ Write-Debug "$i : $testnames[$i]"
+ }
+# here-string
+ @'
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!--
+ This file is automatically generated by regress.ps1
+ and used by MSBuild.
+ -->
+ <PropertyGroup>
+ <Configuration>Release</Configuration>
+ <srcPath>..\test\src\</srcPath>
+ </PropertyGroup>
+ <Target Name="Build">
+ <MSBuild Projects="regress_one.vcxproj"
+ Targets="ClCompile"
+ Properties="TestName=common;Configuration=$(Configuration);srcPath=$(srcPath)"/>
+'@ > $vcxfile
+
+ foreach ($testbin in $testnames) {
+ if ("$testbin" -eq "") {
+ continue
+ }
+ $sary=$testbin.split("/")
+ $testname=$sary[$sary.length -1]
+ $dirname=""
+ for ($i=0;$i -lt $sary.length - 1;$i++) {
+ $dirname+=($sary[$i]+"`\")
+ }
+ Write-Debug "testname=$testname dirname=$dirname"
+ if ($usingExe) {
+ $testexes+=($dirname+$testname+".exe")
+ } else {
+ $testexes+=$testname.Replace("-test","")
+ }
+# here-string
+ @"
+ <MSBuild Projects="regress_one.vcxproj"
+ Targets="Build"
+ Properties="TestName=$testname;Configuration=`$(Configuration);srcPath=`$(srcPath);SubDir=$dirname"/>
+"@ >> $vcxfile
+ }
+# here-string
+ @'
+ <MSBuild Projects="regress_one.vcxproj"
+ Targets="Build"
+ Properties="TestName=runsuite;Configuration=$(Configuration);srcPath=$(srcPath)..\"/>
+ <MSBuild Projects="regress_one.vcxproj"
+ Targets="Build"
+ Properties="TestName=reset-db;Configuration=$(Configuration);srcPath=$(srcPath)..\"/>
+ </Target>
+ <Target Name="Clean">
+ <MSBuild Projects="regress_one.vcxproj"
+ Targets="Clean"
+ Properties="Configuration=$(Configuration);srcPath=$(srcPath)"/>
+ </Target>
+</Project>
+'@ >> $vcxfile
+
+ return $testexes
+}
+
+function RunTest($scriptPath, $Platform)
+{
+ # Run regression tests
+ if ($Platform -eq "x64") {
+ $targetdir="test_x64"
+ } else {
+ $targetdir="test_x86"
+ }
+ $revsdir="..\"
+ $origdir="${revsdir}..\test"
+
+ pushd $scriptPath\$targetdir
+
+ $regdiff="regression.diffs"
+ $RESDIR="results"
+ if (Test-Path $regdiff) {
+ Remove-Item $regdiff
+ }
+ New-Item $RESDIR -ItemType Directory -Force > $null
+ Get-Content "${origdir}\sampletables.sql" | .\reset-db
+ .\runsuite $TESTEXES --inputdir=$origdir
+
+ popd
+}
+
+$usingExe=$false
+$testsf="..\test\tests"
+Write-Debug testsf=$testsf
+$vcxfile="./generated_regress.vcxproj"
+
+$TESTEXES=vcxfile_make $testsf $vcxfile $usingExe
+
+$scriptPath = (Split-Path $MyInvocation.MyCommand.Path)
+$configInfo = & "$scriptPath\configuration.ps1" "$BuildConfigPath"
+Import-Module ${scriptPath}\MSBuild-Get.psm1
+$msbuildexe=Get-MSBuild ([ref]$VCVersion) ([ref]$MSToolsVersion) ([ref]$Toolset) $configInfo
+
+if ($Platform -ieq "both") {
+ $pary = @("Win32", "x64")
+} else {
+ $pary = @($Platform)
+}
+
+foreach ($pl in $pary) {
+ invoke-expression -Command "& `"${msbuildexe}`" $vcxfile /tv:$MSToolsVersion /p:Platform=$pl``;Configuration=$Configuration``;PlatformToolset=${Toolset} /t:$target /p:VisualStudioVersion=${VisualStudioVersion} /Verbosity:minimal"
+
+ if ($target -ieq "Clean") {
+ continue
+ }
+
+ RunTest $scriptPath $pl $TESTEXES
+}
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Debug|x64">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|x64">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{BBD60387-0E82-48F9-A0B3-41659252D639}</ProjectGuid>\r
+ <Keyword>Win32Proj</Keyword>\r
+ <RootNamespace>regress</RootNamespace>\r
+ <ProjectName>regress</ProjectName>\r
+ <TestName>regressw</TestName>\r
+ <SubDir></SubDir>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ <CharacterSet>Ansi</CharacterSet>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ <CharacterSet>Ansi</CharacterSet>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>Ansi</CharacterSet>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>Ansi</CharacterSet>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <PropertyGroup Condition="'$(Platform)'=='Win32'">\r
+ <TARGET_CPU>x86</TARGET_CPU>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Platform)'!='Win32'">\r
+ <TARGET_CPU>x64</TARGET_CPU>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="UserMacros">\r
+ <TargetName>$(TestName)</TargetName>\r
+ <IntDir>test_$(TARGET_CPU)\obj\</IntDir>\r
+ <OutDir>test_$(TARGET_CPU)\$(SubDir)</OutDir>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <LinkIncremental>true</LinkIncremental>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <LinkIncremental>true</LinkIncremental>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <LinkIncremental>false</LinkIncremental>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <LinkIncremental>false</LinkIncremental>\r
+ </PropertyGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <ClCompile>\r
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <Optimization>Disabled</Optimization>\r
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <SDLCheck>true</SDLCheck>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Console</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <AdditionalDependencies>$(IntDir)common.obj;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <ClCompile>\r
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <Optimization>Disabled</Optimization>\r
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <SDLCheck>true</SDLCheck>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Console</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <AdditionalDependencies>$(IntDir)common.obj;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <ClCompile>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+ <Optimization>MaxSpeed</Optimization>\r
+ <FunctionLevelLinking>true</FunctionLevelLinking>\r
+ <IntrinsicFunctions>true</IntrinsicFunctions>\r
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <SDLCheck>true</SDLCheck>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Console</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+ <OptimizeReferences>true</OptimizeReferences>\r
+ <AdditionalDependencies>$(IntDir)common.obj;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <ClCompile>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+ <Optimization>MaxSpeed</Optimization>\r
+ <FunctionLevelLinking>true</FunctionLevelLinking>\r
+ <IntrinsicFunctions>true</IntrinsicFunctions>\r
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <SDLCheck>true</SDLCheck>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Console</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+ <OptimizeReferences>true</OptimizeReferences>\r
+ <AdditionalDependencies>$(IntDir)common.obj;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="$(srcPath)$(TestName).c" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>\r
+\r