We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 336e9b8 commit 7b2ff71Copy full SHA for 7b2ff71
pygccxml/parser/config.py
@@ -92,6 +92,9 @@ def __set_cflags(self, val):
92
cflags = property( __get_cflags, __set_cflags
93
, doc="additional flags to pass to compiler" )
94
95
+ def append_cflags( self, val ):
96
+ self.__cflags = self.__cflags + ' ' + val
97
+
98
def __ensure_dir_exists( self, dir_path, meaning ):
99
if os.path.isdir( dir_path ):
100
return
@@ -232,7 +235,7 @@ def load_gccxml_configuration( configuration, **defaults ):
232
235
values = defaults
233
236
if not values:
234
237
values = {}
-
238
239
if parser.has_section( 'gccxml' ):
240
for name, value in parser.items( 'gccxml' ):
241
if value.strip():
0 commit comments