3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
z3/contrib/cmake
Dan Liew 20d3bf4d0c [CMake] Implement support for building the .NET bindings.
When using Mono support for installing/uninstalling the bindings
is also implemented. For Windows install/uninstall is not implemented
because the python build system does not implement it and Microsoft's
documentation (https://msdn.microsoft.com/en-us/library/dkkx7f79.aspx)
says that the gacutil should only be used for development and not for
production.

For now a warning is just emitted if ``INSTALL_DOTNET_BINDINGS``
is enabled and the .NET toolchain is native Windows. Someone with
better knowledge of how to correctly install assemblies under Windows
should implement this or remove this message.

A notable difference from the Python build system is the
``/linkresource:`` flag is not passed to the C# compiler. This means
a user of the .NET bindings will have to copy the Z3 library (i.e.
``libz3.dll``) to their application directory manually. The reason
for this difference is that using this flag requires the working
directory to be the directory containing the Z3 library (i.e.
``libz3.dll``) but setting this up with multi-configuration generators
doesn't currently seem possible.
2016-03-27 15:04:04 +01:00
..
cmake [CMake] Implement support for building the .NET bindings. 2016-03-27 15:04:04 +01:00
examples Move CMakeLists.txt files (other than the one in the repository root) 2016-03-04 15:26:09 +00:00
src [CMake] Implement support for building the .NET bindings. 2016-03-27 15:04:04 +01:00
bootstrap.py Fix running the CMake bootstrap script under Python 2.7 2016-03-04 15:26:09 +00:00
maintainers.txt Add bootstrap.py script to copy CMake files into their correct location 2016-03-04 15:26:09 +00:00