3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00
z3/contrib/cmake
Dan Liew 626e0736d2 [CMake] Implement installation of ".NET" bindings on Windows.
We don't install Z3_DOTNET_ASSEMBLY_DLL into the gac. Instead we just copy into
installation directory.

There are several reasons for this:

* We can't install the Z3_DOTNET_ASSEMBLY_DLL into the gac in a portable
  way like we can with mono (i.e. the ``-root`` flag).
* It isn't best practice to use ``gacutil.exe``
  on Windows to install into the GAC, see
  https://msdn.microsoft.com/en-us/library/yf1d93sz(v=vs.110).aspx .

Taking this approach should be sufficient because we can now do
something like this

```
mkdir build
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=<some_path> ../
ninja
mkdir <some_path>
ninja install
```

and then put the contents of <some_path> into a zip file which creates a redistributable zip file for Windows.
2016-04-26 11:24:16 +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 installation of ".NET" bindings on Windows. 2016-04-26 11:24:16 +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