summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-11-22 20:19:26 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-01-21 14:51:30 +0100
commit8976d1106ac40e74b7bdc4d0401003126cee53d8 (patch)
tree2e898ba8e03f7ef0928c64591b8ae797951f67f4 /plugin
parent7127a38c7c15c6898dae3ac4ade2095e9daec29d (diff)
Generate resource_data.cc in build system.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile.mingw32.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/Makefile.mingw32.in b/plugin/Makefile.mingw32.in
index 7a9d412..575a8a2 100644
--- a/plugin/Makefile.mingw32.in
+++ b/plugin/Makefile.mingw32.in
@@ -66,6 +66,7 @@ GUI_SRC = \
@top_srcdir@/plugingui/checkbox.cc \
@top_srcdir@/plugingui/slider.cc \
@top_srcdir@/plugingui/scrollbar.cc \
+ @top_srcdir@/plugingui/stackedwidget.cc \
@top_srcdir@/plugingui/textedit.cc \
@top_srcdir@/plugingui/texture.cc \
@top_srcdir@/plugingui/texturedbox.cc \
@@ -117,6 +118,8 @@ SRC = \
drumgizmo_plugin.cc
all:
+ g++ @top_srcdir@/plugingui/rcgen.cc -o @top_srcdir@/plugingui/rcgen
+ (cd @top_srcdir@/plugingui/resources; ../rcgen * > ../resource_data.cc)
gcc $(DBG_CFLAGS) @top_srcdir@/hugin/hugin.c -c
gcc $(DBG_CFLAGS) @top_srcdir@/hugin/hugin_syslog.c -c
g++ $(CXXFLAGS) -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CPPFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(SRC_CFLAGS) $(ZITA_CXXFLAGS) $(EXPAT_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) $(SRC_LIBS) $(ZITA_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a