From eb0f03b17b7e2d19d88839c1c832632db3235236 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 20 Jul 2018 09:24:22 -0700 Subject: [PATCH] build: fuse3: installer and pkg-config --- build/VStudio/installer/Product.wxs | 40 ++++++++++++++++++++++++ build/VStudio/winfsp_dll.vcxproj | 23 ++++++++++++++ build/VStudio/winfsp_dll.vcxproj.filters | 3 ++ src/dll/fuse3/fuse3.pc.in | 10 ++++++ 4 files changed, 76 insertions(+) create mode 100644 src/dll/fuse3/fuse3.pc.in diff --git a/build/VStudio/installer/Product.wxs b/build/VStudio/installer/Product.wxs index 1722fdba..54e0e038 100644 --- a/build/VStudio/installer/Product.wxs +++ b/build/VStudio/installer/Product.wxs @@ -281,6 +281,20 @@ + + + + + + + + + + + + + + @@ -309,6 +323,26 @@ KeyPath="yes" /> NOT VersionNT64 + + + + + VersionNT64 + + + + + + NOT VersionNT64 + @@ -493,12 +527,18 @@ + + + + + + diff --git a/build/VStudio/winfsp_dll.vcxproj b/build/VStudio/winfsp_dll.vcxproj index d5361b80..2d3b60bf 100644 --- a/build/VStudio/winfsp_dll.vcxproj +++ b/build/VStudio/winfsp_dll.vcxproj @@ -86,6 +86,29 @@ copy /b $(OutDir)fuse-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse-$(Platfor $(OutDir)fuse-$(PlatformTarget).pc false + + Document + echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc +copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul + echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc +copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul + echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc +copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul + echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc +copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul + Writing fuse3-$(PlatformTarget).pc + Writing fuse3-$(PlatformTarget).pc + Writing fuse3-$(PlatformTarget).pc + Writing fuse3-$(PlatformTarget).pc + $(OutDir)fuse3-$(PlatformTarget).pc + $(OutDir)fuse3-$(PlatformTarget).pc + $(OutDir)fuse3-$(PlatformTarget).pc + $(OutDir)fuse3-$(PlatformTarget).pc + false + false + false + false + diff --git a/build/VStudio/winfsp_dll.vcxproj.filters b/build/VStudio/winfsp_dll.vcxproj.filters index db769319..42c785ce 100644 --- a/build/VStudio/winfsp_dll.vcxproj.filters +++ b/build/VStudio/winfsp_dll.vcxproj.filters @@ -166,5 +166,8 @@ Source\fuse + + Source\fuse3 + \ No newline at end of file diff --git a/src/dll/fuse3/fuse3.pc.in b/src/dll/fuse3/fuse3.pc.in new file mode 100644 index 00000000..0e52f9a2 --- /dev/null +++ b/src/dll/fuse3/fuse3.pc.in @@ -0,0 +1,10 @@ +prefix=${pcfiledir}/.. +incdir=${prefix}/inc/fuse3 +implib=${prefix}/bin/winfsp-${arch}.dll + +Name: fuse3 +Description: WinFsp FUSE3 compatible API +Version: 3.2 +URL: http://www.secfs.net/winfsp/ +Libs: "${implib}" +Cflags: -I"${incdir}"