2
* JB, the Jean-Yves Lefort's Build System
3
* Copyright (C) 2008 Jean-Yves Lefort <jylefort@brutele.be>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
#ifndef _JB_COMPILE_OPTIONS_H
21
#define _JB_COMPILE_OPTIONS_H
38
GSList *string_defines;
40
char *effective_cppflags;
43
extern JBCompileOptions jb_compile_options;
45
void jb_compile_options_init (JBCompileOptions *self);
47
void jb_compile_options_add_cflags (JBCompileOptions *self, const char *cflags);
48
void jb_compile_options_add_cppflags (JBCompileOptions *self, const char *cppflags);
49
void jb_compile_options_add_ldflags (JBCompileOptions *self, const char *ldflags);
50
void jb_compile_options_add_gob2flags (JBCompileOptions *self, const char *gob2flags);
52
void jb_compile_options_add_package (JBCompileOptions *self, const char *name);
54
void jb_compile_options_add_string_defines (JBCompileOptions *self,
56
...) G_GNUC_NULL_TERMINATED;
58
const char *jb_compile_options_get_effective_cppflags (JBCompileOptions *self);
60
#endif /* _JB_COMPILE_OPTIONS_H */