3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00
z3/src/api/dotnet/Microsoft.Z3.Sharp.pc.in
Dan Liew c8a2b6645a Teach the build system to generate and install a pkg-config file for the
".NET" bindings. This file is required for Monodevelop to find the
bindings because Monodevelop uses pkg-config to find packages
(it doesn't use the GAC).

For lack of a better name the GAC (and pkg-config) package name is now
``Microsoft.Z3.Sharp``. I don't want to call it ``Microsoft.Z3`` because
someone may want to create a ``Microsoft.Z3.pc`` file in the future for
the native Z3 library (i.e. C++ or C bindings).

In addition there is a new utility function ``configure_file()``
which reads a template file, applies some substitutions and writes
the result to another file. This very similar to what CMake does.

There is a new environment variable ``Z3_INSTALL_PKGCONFIG_DIR``
which allows pkgconfig directory to be controlled for the install.
2015-12-05 07:52:31 +00:00

7 lines
209 B
PkgConfig

prefix=@PREFIX@
assemblies_dir=${prefix}/lib/mono/@GAC_PKG_NAME@
Name: @GAC_PKG_NAME@
Description: .NET bindings for The Microsoft Z3 SMT solver
Version: @VERSION@
Libs: -r:${assemblies_dir}/Microsoft.Z3.dll