diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a27abc7..94e23f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,3 +40,16 @@ jobs: run: make test - name: clang static analyzer run: make CC=clang "GHA_ERROR=::error::" clang + + build-windows: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: setup-msbuild + uses: microsoft/setup-msbuild@v1.0.2 + - name: nuget restore + run: nuget restore pdfio.sln + - name: msbuild + run: msbuild pdfio.sln diff --git a/doc/pdfio-128.png b/doc/pdfio-128.png new file mode 100644 index 0000000..c41e127 Binary files /dev/null and b/doc/pdfio-128.png differ diff --git a/packages.config b/packages.config index 56146d7..ddf68c6 100644 --- a/packages.config +++ b/packages.config @@ -1,4 +1,5 @@  - + + \ No newline at end of file diff --git a/pdfio.vcxproj b/pdfio.vcxproj index 05a2b99..257b9b4 100644 --- a/pdfio.vcxproj +++ b/pdfio.vcxproj @@ -167,12 +167,14 @@ - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + + \ No newline at end of file diff --git a/pdfio_native.nuspec b/pdfio_native.nuspec new file mode 100644 index 0000000..3a3b7b5 --- /dev/null +++ b/pdfio_native.nuspec @@ -0,0 +1,30 @@ + + + + pdfio_native + PDFio Library for VS2019+ + 1.0-b0 + Michael R Sweet + michaelrsweet + https://github.com/michaelrsweet/pappl + Apache-2.0 + native/pdfio-128.png + false + PDFio Library for VS2019+ + PDFio is a simple C library for reading and writing PDF files. PDFio is licensed under the Apache License Version 2.0 with an exception to allow linking against GNU GPL2-only software. + Copyright © 2019-2021 by Michael R Sweet + pdf file native + + + + + + + + + + + + + + diff --git a/pdfio_native.props b/pdfio_native.props new file mode 100644 index 0000000..c2fcd75 --- /dev/null +++ b/pdfio_native.props @@ -0,0 +1,16 @@ + + + + pappld + pappl + + + + + + $(MSBuildThisFileDirectory)\include + + @$(LinkLibrary);%(AdditionalDependencies) + + + diff --git a/pdfio_native.redist.nuspec b/pdfio_native.redist.nuspec new file mode 100644 index 0000000..d7fe99d --- /dev/null +++ b/pdfio_native.redist.nuspec @@ -0,0 +1,27 @@ + + + + pdfio_native.redist + PDFio Library for VS2019+ Redist + 1.0-b0 + Michael R Sweet + michaelrsweet + https://github.com/michaelrsweet/pappl + Apache-2.0 + native/pdfio-128.png + false + Redistributable components for package 'pdfio_native'. This package should only be installed as a dependency. + PDFio is a simple C library for reading and writing PDF files. This package provides the redistributable content for PDFio. PDFio is licensed under the Apache License Version 2.0 with an exception to allow linking against GNU GPL2-only software. + Copyright © 2021 by Michael R Sweet + pdf file native + + + + + + + + + + + diff --git a/testpdfio.vcxproj b/testpdfio.vcxproj index a88eef2..778fddc 100644 --- a/testpdfio.vcxproj +++ b/testpdfio.vcxproj @@ -153,12 +153,14 @@ - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + + \ No newline at end of file