Skip to content

Commit

Permalink
IMPROVED handling of .glade XML file
Browse files Browse the repository at this point in the history
ADDED questedit user interface
  • Loading branch information
ksterker committed Oct 4, 2009
1 parent eb1a3d4 commit a554e2e
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 635 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ stamp-h1
.project
.DS_Store
po/Makevars.template

modeller.glade.h
questedit.glade.h
9 changes: 9 additions & 0 deletions src/modeller/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Process this file with automake to produce Makefile.in

EXTRA_DIST = modeller.glade

noinst_PROGRAMS = modeller

noinst_HEADERS = \
Expand All @@ -16,6 +18,13 @@ modeller_SOURCES = \
mdl_cmdline.cc \
mdl_renderer.cc

# just for the dependency
gui_modeller.cc : modeller.glade.h

# generate a string out of the glade XML
$(srcdir)/modeller.glade.h : modeller.glade
sed -e 's/"/\\"/g' -e 's/>$$/>"/' -e 's/^\( *\)</\1"</' $< > $@

INCLUDES = -I@top_srcdir@/src/common -I@top_srcdir@/src
modeller_CXXFLAGS = -D_VERSION_=\"0.1\" $(GTK_CFLAGS) $(PY_CFLAGS) $(ADONTHELL_CFLAGS) ${IGE_MAC_CFLAGS}
modeller_LDADD = ../common/libcommon.a $(GTK_LIBS) $(ADONTHELL_LIBS) ${IGE_MAC_LIBS}
Loading

0 comments on commit a554e2e

Please sign in to comment.