arkhipov / temporal_tables

Temporal Tables PostgreSQL Extension
BSD 2-Clause "Simplified" License
937 stars 47 forks source link

Fix MSVC version #11

Closed mlt closed 8 years ago

mlt commented 8 years ago

I've added missing temporal_tables.c to the project and missing PGDLLEXPORT macro to _PG_init so it is exported and things are initialized properly. It should close #10. P.S. Did you consider setting up AppVeyor for automated builds/testing? Here is the minimal appveyor.yml that kind of works for a repo I cloned

version: 1.0.{build}
pull_requests:
  do_not_increment_build_number: true
branches:
  only:
  - msvc
os: Visual Studio 2015
configuration: Release
platform: x64
clone_depth: 1
environment:
  matrix:
  - pgversion: 9.4
  - pgversion: 9.3
build_script:
- cmd: msbuild /p:configuration=Release /p:platform=x64 "temporal_tables.vcxproj" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test: off
artifacts:
- path: x64\Release\temporal_tables.dll