Commit b6441150 authored by pixhawk's avatar pixhawk

Adjusted project files for MSVC

parent 282aa15c
......@@ -199,6 +199,30 @@ DEFINES += QGC_OSG_ENABLED
}
}
# Windows (32bit)
win32-msvc2008 {
message(Building for Windows Visual Studio 2008 (32bit))
# Special settings for debug
#CONFIG += CONSOLE
INCLUDEPATH += $$BASEDIR/lib/sdl/msvc/include \
$$BASEDIR/lib/opal/include \
$$BASEDIR/lib/msinttypes
#"C:\Program Files\Microsoft SDKs\Windows\v7.0\Include"
LIBS += -L$$BASEDIR/lib/sdl/msvc/lib \
-lSDLmain -lSDL
RC_FILE = $$BASEDIR/qgroundcontrol.rc
# Copy dependencies
QMAKE_PRE_LINK += cp -f $$BASEDIR/lib/sdl/win32/SDL.dll $$TARGETDIR/debug/. &&
QMAKE_PRE_LINK += cp -f $$BASEDIR/lib/sdl/win32/SDL.dll $$TARGETDIR/release/. &&
QMAKE_PRE_LINK += cp -rf $$BASEDIR/audio $$TARGETDIR/debug/. &&
QMAKE_PRE_LINK += cp -rf $$BASEDIR/audio $$TARGETDIR/release/.
}
# Windows (32bit)
win32-g++ {
......
......@@ -34,7 +34,8 @@ QT += network \
TEMPLATE = app
TARGET = qgroundcontrol
BASEDIR = $$IN_PWD
BUILDDIR = $$OUT_PWD/build
TARGETDIR = $$OUT_PWD
BUILDDIR = $$TARGET_DIR/build
LANGUAGE = C++
CONFIG += debug_and_release \
console
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment