mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
build: fuse3: installer and pkg-config
This commit is contained in:
parent
575fe55eb8
commit
eb0f03b17b
@ -281,6 +281,20 @@
|
|||||||
<File Name="winfsp_fuse.h" KeyPath="yes" />
|
<File Name="winfsp_fuse.h" KeyPath="yes" />
|
||||||
</Component>
|
</Component>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
<Directory Id="INCDIR.fuse3" Name="fuse3">
|
||||||
|
<Component Id="C.fuse3.h">
|
||||||
|
<File Id="fuse3.h" Name="fuse.h" KeyPath="yes" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="C.fuse3_common.h">
|
||||||
|
<File Id="fuse3_common.h" Name="fuse_common.h" KeyPath="yes" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="C.fuse3_opt.h">
|
||||||
|
<File Id="fuse3_opt.h" Name="fuse_opt.h" KeyPath="yes" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="C.winfsp_fuse3.h">
|
||||||
|
<File Id="winfsp_fuse3.h" Name="winfsp_fuse.h" KeyPath="yes" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
<DirectoryRef Id="LIBDIR" FileSource="..\build\$(var.Configuration)">
|
<DirectoryRef Id="LIBDIR" FileSource="..\build\$(var.Configuration)">
|
||||||
<Component Id="C.winfsp_x64.lib">
|
<Component Id="C.winfsp_x64.lib">
|
||||||
@ -309,6 +323,26 @@
|
|||||||
KeyPath="yes" />
|
KeyPath="yes" />
|
||||||
<Condition>NOT VersionNT64</Condition>
|
<Condition>NOT VersionNT64</Condition>
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
|
<!-- On Win64 copy fuse3-x64.pc -->
|
||||||
|
<Component Id="C.fuse3_x64.pc" Guid="FE59E3BA-E5EA-4822-80B1-19A1DE6B62C7">
|
||||||
|
<File
|
||||||
|
Id="FILE.fuse3_x64.pc"
|
||||||
|
Name="fuse3.pc"
|
||||||
|
Source="..\build\$(var.Configuration)\fuse3-x64.pc"
|
||||||
|
KeyPath="yes" />
|
||||||
|
<Condition>VersionNT64</Condition>
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<!-- On Win32 copy fuse3-x86.pc -->
|
||||||
|
<Component Id="C.fuse3_x86.pc" Guid="176205D0-07EA-4DFC-947F-18E89ABDAFAB">
|
||||||
|
<File
|
||||||
|
Id="FILE.fuse3_x86.pc"
|
||||||
|
Name="fuse3.pc"
|
||||||
|
Source="..\build\$(var.Configuration)\fuse3-x86.pc"
|
||||||
|
KeyPath="yes" />
|
||||||
|
<Condition>NOT VersionNT64</Condition>
|
||||||
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
<DirectoryRef Id="OPTDIR">
|
<DirectoryRef Id="OPTDIR">
|
||||||
<Directory Id="OPTDIR.cygfuse" Name="cygfuse" FileSource="..\..\..\opt\cygfuse\dist">
|
<Directory Id="OPTDIR.cygfuse" Name="cygfuse" FileSource="..\..\..\opt\cygfuse\dist">
|
||||||
@ -493,12 +527,18 @@
|
|||||||
<ComponentRef Id="C.fuse_common.h" />
|
<ComponentRef Id="C.fuse_common.h" />
|
||||||
<ComponentRef Id="C.fuse_opt.h" />
|
<ComponentRef Id="C.fuse_opt.h" />
|
||||||
<ComponentRef Id="C.winfsp_fuse.h" />
|
<ComponentRef Id="C.winfsp_fuse.h" />
|
||||||
|
<ComponentRef Id="C.fuse3.h" />
|
||||||
|
<ComponentRef Id="C.fuse3_common.h" />
|
||||||
|
<ComponentRef Id="C.fuse3_opt.h" />
|
||||||
|
<ComponentRef Id="C.winfsp_fuse3.h" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
<ComponentGroup Id="C.WinFsp.lib">
|
<ComponentGroup Id="C.WinFsp.lib">
|
||||||
<ComponentRef Id="C.winfsp_x64.lib" />
|
<ComponentRef Id="C.winfsp_x64.lib" />
|
||||||
<ComponentRef Id="C.winfsp_x86.lib" />
|
<ComponentRef Id="C.winfsp_x86.lib" />
|
||||||
<ComponentRef Id="C.fuse_x64.pc" />
|
<ComponentRef Id="C.fuse_x64.pc" />
|
||||||
<ComponentRef Id="C.fuse_x86.pc" />
|
<ComponentRef Id="C.fuse_x86.pc" />
|
||||||
|
<ComponentRef Id="C.fuse3_x64.pc" />
|
||||||
|
<ComponentRef Id="C.fuse3_x86.pc" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
<ComponentGroup Id="C.WinFsp.opt.fuse">
|
<ComponentGroup Id="C.WinFsp.opt.fuse">
|
||||||
<ComponentRef Id="C.fuse.tar.xz.x64" />
|
<ComponentRef Id="C.fuse.tar.xz.x64" />
|
||||||
|
@ -86,6 +86,29 @@ copy /b $(OutDir)fuse-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse-$(Platfor
|
|||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)fuse-$(PlatformTarget).pc</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)fuse-$(PlatformTarget).pc</Outputs>
|
||||||
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\..\src\dll\fuse3\fuse3.pc.in">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc
|
||||||
|
copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul</Command>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc
|
||||||
|
copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul</Command>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc
|
||||||
|
copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul</Command>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">echo arch=$(PlatformTarget) >$(OutDir)fuse3-$(PlatformTarget).pc
|
||||||
|
copy /b $(OutDir)fuse3-$(PlatformTarget).pc + %(FullPath) $(OutDir)fuse3-$(PlatformTarget).pc >nul</Command>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Writing fuse3-$(PlatformTarget).pc</Message>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Writing fuse3-$(PlatformTarget).pc</Message>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Writing fuse3-$(PlatformTarget).pc</Message>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Writing fuse3-$(PlatformTarget).pc</Message>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)fuse3-$(PlatformTarget).pc</Outputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)fuse3-$(PlatformTarget).pc</Outputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)fuse3-$(PlatformTarget).pc</Outputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)fuse3-$(PlatformTarget).pc</Outputs>
|
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkObjects>
|
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkObjects>
|
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
|
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
|
||||||
|
</CustomBuild>
|
||||||
<None Include="..\..\src\dll\library.def" />
|
<None Include="..\..\src\dll\library.def" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -166,5 +166,8 @@
|
|||||||
<CustomBuild Include="..\..\src\dll\fuse\fuse.pc.in">
|
<CustomBuild Include="..\..\src\dll\fuse\fuse.pc.in">
|
||||||
<Filter>Source\fuse</Filter>
|
<Filter>Source\fuse</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\..\src\dll\fuse3\fuse3.pc.in">
|
||||||
|
<Filter>Source\fuse3</Filter>
|
||||||
|
</CustomBuild>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
10
src/dll/fuse3/fuse3.pc.in
Normal file
10
src/dll/fuse3/fuse3.pc.in
Normal file
@ -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}"
|
Loading…
x
Reference in New Issue
Block a user