mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
adding targets
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
75b1e8fe27
commit
d642ed5591
|
@ -81,6 +81,9 @@ def unpack():
|
|||
zip_ref.extract("%s/bin/%s" % (package_dir, b), "tmp")
|
||||
shutil.move("tmp/%s/bin/%s" % (package_dir, b), "out/lib/netstandard1.4/%s" % b)
|
||||
|
||||
def mk_targets():
|
||||
shutil.copy("../src/api/dotnet/Microsoft.Z3.targets.in", "out/Microsoft.Z3.targets")
|
||||
|
||||
def create_nuget_spec():
|
||||
contents = """<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
|
@ -164,6 +167,7 @@ def main():
|
|||
mk_dir("packages")
|
||||
download_installs()
|
||||
unpack()
|
||||
mk_targets()
|
||||
create_nuget_spec()
|
||||
create_nuget_package()
|
||||
sign_nuget_package()
|
||||
|
|
10
src/api/dotnet/Microsoft.Z3.targets.in
Normal file
10
src/api/dotnet/Microsoft.Z3.targets.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-$(PlatformTarget)\native\libz3.dll">
|
||||
<Visible>false</Visible>
|
||||
<Link>libz3.dll</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue