<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-GCutter">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-GCutter.top_of_page">GCutter</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  CUTTER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GCutter</refname>
<refpurpose>Cutter with GLib support.</refpurpose>
</refnamediv>

<refsynopsisdiv id="cutter-GCutter.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>#define             <link linkend="GCUTTER-ENABLED:CAPS">GCUTTER_ENABLED</link>
</synopsis>
</refsynopsisdiv>

<refsect1 id="cutter-GCutter.description" role="desc">
<title role="desc.title">Description</title>
<para>
GCutter adds many useful features based on GLib to
Cutter. If you want to write tests with more easily,
it's good idea that you consider GCutter to be used too.
</para>
<para>
It's easy to use GCutter. You just include &lt;gcutter.h&gt;
instead of &lt;cutter.h&gt; and use gcutter.pc instead of
cutter.pc:
</para>
<para>
test-xxx.c:
<informalexample><programlisting>
-#include &lt;cutter.h&gt;
+#include &lt;gcutter.h&gt;
</programlisting></informalexample>
</para>
<para>
configure.ac:
<informalexample><programlisting>
-AC_CHECK_CUTTER
+AC_CHECK_GCUTTER
</programlisting></informalexample>
</para>
<para>
Makefile.am:
<informalexample><programlisting>
-XXX_CFLAGS = $(CUTTER_CFLAGS)
-XXX_LIBS = $(CUTTER_LIBS)
+XXX_CFLAGS = $(GCUTTER_CFLAGS)
+XXX_LIBS = $(GCUTTER_LIBS)
</programlisting></informalexample>
</para>
</refsect1>
<refsect1 id="cutter-GCutter.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GCUTTER-ENABLED:CAPS" role="macro" condition="since:1.0.6">
<title>GCUTTER_ENABLED</title>
<indexterm zone="GCUTTER-ENABLED:CAPS" role="1.0.6"><primary>GCUTTER_ENABLED</primary></indexterm>
<programlisting>#define GCUTTER_ENABLED 1
</programlisting>
<para>
Defined when GCutter is enabled.
</para><para role="since">Since 1.0.6</para></refsect2>

</refsect1>
<refsect1 id="cutter-GCutter.see-also">
<title>See Also</title>
<link
           linkend="cutter-Assertions-with-GLib-support">
           Assertions with GLib support</link>
</refsect1>

</refentry>
