Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
Z3_C_EXAMPLES_FORCE_CXX_LINKER
and propagate its value into the C API examples. This flag forces the C API examples to use the C++ compiler as the linker rather than the C compiler. This a workaround to avoid linking errors when building with UBSan.
maxsat
project. The project can be built by building the new `c_maxsat_example` target.