|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <!-- Package metadata properties --> |
| 4 | + <PropertyGroup> |
| 5 | + |
| 6 | + <PackageId>Microsoft.Z3</PackageId> |
| 7 | + <AssemblyName>Microsoft.Z3</AssemblyName> |
| 8 | + <RootNamespace>Microsoft.Z3</RootNamespace> |
| 9 | + |
| 10 | + <Title>Z3 .NET Interface</Title> |
| 11 | + <AssemblyTitle>Z3 .NET Interface</AssemblyTitle> |
| 12 | + |
| 13 | + <AssemblyProduct>Z3</AssemblyProduct> |
| 14 | + |
| 15 | + <Description>Z3 is a satisfiability modulo theories solver from Microsoft Research.</Description> |
| 16 | + <AssemblyDescription>.NET Interface to the Z3 Theorem Prover</AssemblyDescription> |
| 17 | + |
| 18 | + <Copyright>Copyright (C) 2006-2019 Microsoft Corporation</Copyright> |
| 19 | + <AssemblyCopyright>Copyright (C) 2006-2019 Microsoft Corporation</AssemblyCopyright> |
| 20 | + |
| 21 | + <Company>Microsoft Corporation</Company> |
| 22 | + <AssemblyCompany>Microsoft Corporation</AssemblyCompany> |
| 23 | + |
| 24 | + <Version>@VER_MAJOR@.@VER_MINOR@.@VER_BUILD@.@VER_REVISION@</Version> |
| 25 | + <AssemblyVersion>@VER_MAJOR@.@VER_MINOR@.@VER_BUILD@.@VER_REVISION@</AssemblyVersion> |
| 26 | + |
| 27 | + <FileVersion>@VER_MAJOR@.@VER_MINOR@.@VER_BUILD@.@VER_REVISION@</FileVersion> |
| 28 | + <AssemblyFileVersion>@VER_MAJOR@.@VER_MINOR@.@VER_BUILD@.@VER_REVISION@</AssemblyFileVersion> |
| 29 | + |
| 30 | + <PackageVersion>${DOTNET_PACKAGE_VERSION}</PackageVersion> |
| 31 | + <PackageTags>smt constraint solver theorem prover</PackageTags> |
| 32 | + |
| 33 | + <Authors>Microsoft</Authors> |
| 34 | + <Company>Microsoft</Company> |
| 35 | + </PropertyGroup> |
| 36 | + |
| 37 | + <!-- Code contract & signing properties --> |
| 38 | + <PropertyGroup Condition="'$(Configuration)' != 'Release_delaysign'"> |
| 39 | + <SignAssembly>false</SignAssembly> |
| 40 | + <DelaySign>false</DelaySign> |
| 41 | + </PropertyGroup> |
| 42 | + |
| 43 | + <PropertyGroup Condition="'$(Configuration)' == 'Release_delaysign'"> |
| 44 | + <DefineConstants>DELAYSIGN</DefineConstants> |
| 45 | + <SignAssembly>true</SignAssembly> |
| 46 | + <DelaySign>true</DelaySign> |
| 47 | + </PropertyGroup> |
| 48 | + |
| 49 | + <!-- Build properties --> |
| 50 | + <PropertyGroup> |
| 51 | + <!-- In *nix builds, netfx TFMs are not available. --> |
| 52 | + <TargetFrameworks>netstandard2.0;net45</TargetFrameworks> |
| 53 | + <OutputTypeEx>library</OutputTypeEx> |
| 54 | + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> |
| 55 | + <NoWarn>1701,1702</NoWarn> |
| 56 | + <Warn>4</Warn> |
| 57 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 58 | + <DocumentationFile>$(OutputPath)\Microsoft.Z3.xml</DocumentationFile> |
| 59 | + </PropertyGroup> |
| 60 | + |
| 61 | + <!-- Compilation items --> |
| 62 | + <ItemGroup> |
| 63 | +${Z3_DOTNET_COMPILE_ITEMS} |
| 64 | + </ItemGroup> |
| 65 | + |
| 66 | + <!-- Legacy .NET framework native library helper routines --> |
| 67 | + <ItemGroup> |
| 68 | + <Content Include="${CMAKE_CURRENT_LIST_DIR}/Microsoft.Z3.props"> |
| 69 | + <PackagePath>build</PackagePath> |
| 70 | + </Content> |
| 71 | + <Content Include="${CMAKE_CURRENT_LIST_DIR}/Microsoft.Z3.targets"> |
| 72 | + <PackagePath>build</PackagePath> |
| 73 | + </Content> |
| 74 | + </ItemGroup> |
| 75 | + |
| 76 | + <!-- TODO we may want to pack x64 and x86 native assemblies into a single nupkg --> |
| 77 | + |
| 78 | + <!-- Native binaries x64 --> |
| 79 | + <ItemGroup Condition="'$(Platform)' != 'x86'"> |
| 80 | + <Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(_DN_CMAKE_CONFIG)/libz3.dll" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(_DN_CMAKE_CONFIG)/libz3.dll')"> |
| 81 | + <PackagePath>runtimes\win-x64\native</PackagePath> |
| 82 | + </Content> |
| 83 | + <Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so')"> |
| 84 | + <PackagePath>runtimes\linux-x64\native</PackagePath> |
| 85 | + </Content> |
| 86 | + </ItemGroup> |
| 87 | + |
| 88 | + <!-- Native binaries for x86; currently only Windows is supported. --> |
| 89 | + <ItemGroup Condition="'$(Platform)' == 'x86'"> |
| 90 | + <Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(_DN_CMAKE_CONFIG)/libz3.dll" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(_DN_CMAKE_CONFIG)/libz3.dll')"> |
| 91 | + <PackagePath>runtimes\win-x86\native</PackagePath> |
| 92 | + </Content> |
| 93 | + </ItemGroup> |
| 94 | + |
| 95 | +</Project> |
0 commit comments