mirror of
https://github.com/Z3Prover/z3
synced 2025-04-16 05:48:44 +00:00
fine-tune native assembly packing
This commit is contained in:
parent
969a922145
commit
534de98ff3
|
@ -142,7 +142,7 @@ set(Z3_DOTNET_NUPKG_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}")
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Microsoft.Z3.csproj.in ${CMAKE_CURRENT_BINARY_DIR}/build/Microsoft.Z3.csproj)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Microsoft.Z3.csproj.in ${CMAKE_CURRENT_BINARY_DIR}/build/Microsoft.Z3.csproj)
|
||||||
ADD_DOTNET(${CMAKE_CURRENT_BINARY_DIR}/build/Microsoft.Z3.csproj
|
ADD_DOTNET(${CMAKE_CURRENT_BINARY_DIR}/build/Microsoft.Z3.csproj
|
||||||
VERSION ${Z3_DOTNET_NUPKG_VERSION}
|
VERSION ${Z3_DOTNET_NUPKG_VERSION}
|
||||||
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Microsoft.Z3.csproj.in
|
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Microsoft.Z3.csproj.in ${Z3_DOTNET_ASSEMBLY_SOURCES}
|
||||||
PACKAGE Microsoft.Z3)
|
PACKAGE Microsoft.Z3)
|
||||||
|
|
||||||
add_dependencies(BUILD_Microsoft.Z3 libz3)
|
add_dependencies(BUILD_Microsoft.Z3 libz3)
|
||||||
|
|
|
@ -59,7 +59,7 @@ ${Z3_DOTNET_COMPILE_ITEMS}
|
||||||
<!-- Native binaries -->
|
<!-- Native binaries -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!--TODO detect if we're building x86.-->
|
<!--TODO detect if we're building x86.-->
|
||||||
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.dll" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.dll')">
|
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(Configuration)/libz3.dll" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(Configuration)/libz3.dll')">
|
||||||
<PackagePath>runtimes\win-x64\native</PackagePath>
|
<PackagePath>runtimes\win-x64\native</PackagePath>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so')">
|
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.so')">
|
||||||
|
|
Loading…
Reference in a new issue