Mercurial > hg > vamp-plugin-load-checker
diff helper.pro @ 7:846464771d06
Use qmake for everything, + build static lib too
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2016 09:42:26 +0100 |
parents | |
children | 25e00373f597 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/helper.pro Thu Apr 14 09:42:26 2016 +0100 @@ -0,0 +1,26 @@ + +TEMPLATE = app + +CONFIG += stl c++11 exceptions console warn_on +CONFIG -= qt + +# Using the "console" CONFIG flag above should ensure this happens for +# normal Windows builds, but this may be necessary when cross-compiling +win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console + +!win32* { + QMAKE_CXXFLAGS += -Werror +} + +linux* { + QMAKE_LFLAGS += -ldl +} + +TARGET = helper + +OBJECTS_DIR = o +MOC_DIR = o + +SOURCES += \ + helper.cpp +