From d912747a68c38baa1d19e07067d8c691f29f8198 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Tue, 21 Jul 2015 10:18:57 -0500 Subject: Visual Studio build maintenance. * Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build. --- quacker/quacker.pro | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'quacker/quacker.pro') diff --git a/quacker/quacker.pro b/quacker/quacker.pro index 246a261..9906e45 100644 --- a/quacker/quacker.pro +++ b/quacker/quacker.pro @@ -18,10 +18,18 @@ release { OBJECTS_DIR = obj/release } -QMAKE_LFLAGS_RELEASE += -L../lib/release -L../quackleio/lib/release -QMAKE_LFLAGS_DEBUG += -L../lib/debug -L../quackleio/lib/debug +debug { + QMAKE_LIBDIR += ../lib/debug ../quackleio/lib/debug +} +release { + QMAKE_LIBDIR += ../lib/release ../quackleio/lib/release +} -LIBS += -lquackleio -lquackle +win32:!win32-g++ { + LIBS += -lquackleio -llibquackle +} else { + LIBS += -lquackleio -lquackle +} macx:LIBS += -framework CoreFoundation # Input @@ -32,13 +40,6 @@ win32 { RC_FILE = quacker.rc } -win32:!win32-g++ { - QMAKE_CFLAGS_DEBUG ~= s/-MDd/-MTd/ - QMAKE_CXXFLAGS_DEBUG ~= s/-MDd/-MTd/ - QMAKE_CFLAGS_RELEASE ~= s/-MD/-MT/ - QMAKE_CXXFLAGS_RELEASE ~= s/-MD/-MT/ -} - macx { DEFINES += FORCE_SECONDARY_ARROW_GLYPHS=1 ICON = quacker.icns -- cgit v1.2.3