Browse Source

add ztoolkit_config to installable headers

master
Alexandros Theodotou 3 years ago
parent
commit
f4a403696b
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      inc/ztoolkit/meson.build
  2. 6
      inc/ztoolkit/rsvg.h
  3. 21
      inc/ztoolkit/ztk.h
  4. 1
      meson.build

2
inc/ztoolkit/meson.build

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with ZToolkit. If not, see <https://www.gnu.org/licenses/>.
installable_headers = files([
installable_headers += files([
'ztk_app.h',
'ztk_color.h',
'ztk_knob.h',

6
inc/ztoolkit/rsvg.h

@ -20,6 +20,10 @@ @@ -20,6 +20,10 @@
#ifndef __ZTOOLKIT_RSVG_H__
#define __ZTOOLKIT_RSVG_H__
#include "ztoolkit_config.h"
#ifdef HAVE_RSVG
#include <cairo.h>
typedef void ZtkRsvgHandle;
@ -58,4 +62,6 @@ ztk_rsvg_draw ( @@ -58,4 +62,6 @@ ztk_rsvg_draw (
cairo_t * cr,
ZtkRect * rect);
#endif // if HAVE_RSVG
#endif // header guard

21
inc/ztoolkit/ztk.h

@ -20,16 +20,17 @@ @@ -20,16 +20,17 @@
#ifndef __Z_TOOLKIT_ZTK_H__
#define __Z_TOOLKIT_ZTK_H__
#include "ztoolkit/log.h"
#include "ztoolkit/types.h"
#include "ztoolkit/rsvg.h"
#include "ztoolkit/ztk_app.h"
#include "ztoolkit/ztk_color.h"
#include "ztoolkit/ztk_drawing_area.h"
#include "ztoolkit/ztk_knob.h"
#include "ztoolkit/ztk_knob_with_label.h"
#include "ztoolkit/ztk_label.h"
#include "ztoolkit/ztk_widget.h"
#include "ztoolkit_config.h"
#include "log.h"
#include "types.h"
#include "rsvg.h"
#include "ztk_app.h"
#include "ztk_color.h"
#include "ztk_drawing_area.h"
#include "ztk_knob.h"
#include "ztk_knob_with_label.h"
#include "ztk_label.h"
#include "ztk_widget.h"
#ifndef MAX
# define MAX(x,y) (x > y ? x : y)

1
meson.build

@ -79,6 +79,7 @@ config_h = configure_file ( @@ -79,6 +79,7 @@ config_h = configure_file (
output: 'ztoolkit_config.h',
configuration: cdata,
)
installable_headers = [ config_h ]
# include dirs
inc_dirs = [

Loading…
Cancel
Save