summaryrefslogtreecommitdiff
path: root/quackle.pro
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
commitd912747a68c38baa1d19e07067d8c691f29f8198 (patch)
treef221b417220ffe5b6adbf3ca8210c788379d7842 /quackle.pro
parent46fc18d0d167cc6feacfb41fadb207a1234ccc26 (diff)
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.
Diffstat (limited to 'quackle.pro')
-rw-r--r--quackle.pro13
1 files changed, 5 insertions, 8 deletions
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
}