From b15f8552d629021c3cadef3e7afcae2fa98dad1b Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 30 Jul 2017 05:06:18 +0300 Subject: Improve gen_adldata program - Now it caches all generated data, so, we won't have to re-calculate same - File is writing by gen_adldata nor by stdout forward - Instead of hardcoded list of banks, I made the INI file which declares list of banks to generate - Add simple validators to tell which bank is absense and can't be loaded - Split code of gen_adldata.cc into multiple files of different role --- src/gen_adldata/gen_adldata.pro | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/gen_adldata/gen_adldata.pro (limited to 'src/gen_adldata/gen_adldata.pro') diff --git a/src/gen_adldata/gen_adldata.pro b/src/gen_adldata/gen_adldata.pro new file mode 100644 index 0000000..f60d3a2 --- /dev/null +++ b/src/gen_adldata/gen_adldata.pro @@ -0,0 +1,36 @@ +TEMPLATE=app +CONFIG-=qt +CONFIG+=console +TARGET=gen_adldata +DESTDIR=$$PWD/../../bin +CONFIG += c++11 + +include($$PWD/ini/IniProcessor.pri) + +#DEFINES += ADLMIDI_USE_DOSBOX_OPL + +QMAKE_CXXFLAGS_RELEASE += -O3 -finline-functions +LIBS += -lpthread + +HEADERS += \ + midi_inst_list.h \ + ../nukedopl3.h \ + ../dbopl.h \ + progs_cache.h \ + file_formats/load_bnk.h \ + file_formats/load_bnk2.h \ + file_formats/load_op2.h \ + file_formats/load_ail.h \ + file_formats/load_ibk.h \ + file_formats/load_jv.h \ + file_formats/load_tmb.h \ + file_formats/load_bisqwit.h \ + measurer.h + +SOURCES += \ + gen_adldata.cc \ + ../nukedopl3.c \ + ../dbopl.cpp \ + progs_cache.cpp \ + measurer.cpp + -- cgit v1.2.3