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. --- quackle.pro | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'quackle.pro') diff --git a/quackle.pro b/quackle.pro index ced2577..18d9a33 100644 --- a/quackle.pro +++ b/quackle.pro @@ -1,8 +1,12 @@ TEMPLATE = lib INCLUDEPATH += . DEPENDPATH += . -VERSION = 0.9 +VERSION = 0.99 QT -= gui core +win32:!win32-g++ { # VS solutions don't like having two projects named "quackle" + TARGET = libquackle +} + debug { OBJECTS_DIR = obj/debug DESTDIR = lib/debug @@ -28,13 +32,6 @@ SOURCES -= \ makedawg.cpp \ quackletest.cpp -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-g++ { QMAKE_CXXFLAGS += -fpermissive } -- cgit v1.2.3