forked from jconway/plr
-
Notifications
You must be signed in to change notification settings - Fork 27
/
plr.vcxproj
100 lines (100 loc) · 4.75 KB
/
plr.vcxproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{CC739A29-855A-4FB0-B859-ECD0EBC538C5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>plr</RootNamespace>
<PlatformToolset>v140</PlatformToolset>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CustomBuildBeforeTargets>Link</CustomBuildBeforeTargets>
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
<rbin Condition="$(Platform)=='Win32'">i386</rbin>
<rbin Condition="$(Platform)=='x64'">x64</rbin>
<pf>$(ProgramFiles)</pf>
<pf Condition="$(Platform)=='x64'">$(ProgramW6432)</pf>
</PropertyGroup>
<PropertyGroup Label="UserMacros">
<pgversion Condition="$(pgversion) == ''">9.6</pgversion>
<mingw Condition="$(mingw) == ''">C:\RTools\mingw_</mingw>
<pgroot Condition="$(pgroot)==''">$(pf)\PostgreSQL\$(pgversion)</pgroot>
<rversion Condition="$(rversion)==''">3.5.1</rversion>
<r_home Condition="$(R_HOME)==''">C:\Program Files\R\R-$(rversion)</r_home>
<sed Condition="$(sed)==''">$(mingw)\..\bin\sed</sed>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<PropertyGroup>
<IncludePath>$(R_HOME)\include;$(pgroot)\include;$(pgroot)\include\server;$(pgroot)\include\server\port\win32;$(pgroot)\include\server\port\win32_msvc;$(IncludePath)</IncludePath>
<LibraryPath>$(pgroot)\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<CompileAs>CompileAsC</CompileAs>
<ExceptionHandling>false</ExceptionHandling>
<EnableEnhancedInstructionSet Condition="$(PlatformToolset)!='Windows7.1SDK'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<PreprocessorDefinitions>Win32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="$(pgversion)=='9.3'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Condition="$(Configuration)=='Release'">
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<IntrinsicFunctions>true</IntrinsicFunctions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<StringPooling>true</StringPooling>
</ClCompile>
<ClCompile Condition="$(Configuration)=='Debug'">
<Optimization>Disabled</Optimization>
<MinimalRebuild>true</MinimalRebuild>
<BrowseInformation Condition="$(CI)==''">true</BrowseInformation>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
</ClCompile>
<Link>
<AdditionalDependencies>R$(PlatformTarget).lib;postgres.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
</Link>
<CustomBuildStep>
<Command>$(mingw)$(PlatformArchitecture)\bin\gendef.exe - "$(R_HOME)\bin\$(rbin)\R.dll" > R$(PlatformTarget).def
lib /def:R$(PlatformTarget).def /out:R$(PlatformTarget).lib /MACHINE:$(PlatformTarget)
if "%CI%"=="" ( if not exist data "$(pgroot)\bin\initdb" -D data )
</Command>
<Outputs>R$(PlatformTarget).lib</Outputs>
<Message>Generate R import library</Message>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="pg_backend_support.c" />
<ClCompile Include="pg_conversion.c" />
<ClCompile Include="pg_rsupport.c" />
<ClCompile Include="pg_userfuncs.c" />
<ClCompile Include="plr.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="plr.h" />
</ItemGroup>
</Project>