4 PRAGMA <OPTIONS x> | <LDFLAGS x> | <COMPILER x> | <INCLUDE x>
8 Instead of passing commandline arguments to influence the behavior of
9 the compiler, it is also possible to define these arguments
10 programmatically. Mostly these arguments are used when embedding
11 variables or library dependent structures into BaCon code. Example when
12 SDL code is included in the BaCon program:
15 PRAGMA INCLUDE SDL/SDL.h
17 Example when GTK2 code is included in the BaCon program:
19 PRAGMA LDFLAGS `pkg-config --cflags --libs gtk+-2.0`
20 PRAGMA INCLUDE gtk-2.0/gtk/gtk.h
23 Example on passing optimization parameters to the compiler:
27 Multiple arguments can be passed too:
29 PRAGMA LDFLAGS iup cd iupcd im
30 PRAGMA INCLUDE iup.h cd.h cdiup.h im.h im_image.h