use local version of qwt

Add top-level build.pro, gitignore top-level Makefile, point src.pro at our
own qwt dir, and adjust gcconfig.pri.in accordingly.
This commit is contained in:
Sean Rhea
2009-09-20 10:53:51 -07:00
parent d42c46236b
commit 83d1903276
4 changed files with 9 additions and 9 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,8 @@
Makefile
# old skool
.svn
# osx noise
.DS_Store
profile
profile

2
build.pro Normal file
View File

@@ -0,0 +1,2 @@
TEMPLATE = subdirs
SUBDIRS = qwt src

View File

@@ -1,9 +1,8 @@
# To build, copy this file to gcconfig.pri and then fill in the paths to your
# local installs of Boost, QWT, and srmio in the copy. If you don't want
# local installs of Boost and srmio in the copy. If you don't want
# support for SRM downloads, just comment out the SRMIO_INSTALL line.
BOOST_INSTALL = /usr/local/boost
QWT_INSTALL = /usr/local/qwt
SRMIO_INSTALL = /usr/local/srmio
D2XX_INCLUDE = /usr/local/include/D2XX
@@ -11,14 +10,11 @@ D2XX_INCLUDE = /usr/local/include/D2XX
CONFIG += debug
#CONFIG += static
# Edit these paths only if you have a Boost/QWT/srmio install that uses
# Edit these paths only if you have a Boost/srmio install that uses
# a non-standard directory layout.
BOOST_INCLUDE = $${BOOST_INSTALL}/include
QWT_INCLUDE = $${QWT_INSTALL}/include
QWT_LIB = $${QWT_INSTALL}/lib/libqwt.a
!isEmpty( SRMIO_INSTALL ) {
SRMIO_INCLUDE = $${SRMIO_INSTALL}/include
SRMIO_LIB = $${SRMIO_INSTALL}/lib/libsrmio.a

View File

@@ -6,9 +6,9 @@ TEMPLATE = app
TARGET = GoldenCheetah
DEPENDPATH += .
!isEmpty( BOOST_INCLUDE ) { INCLUDEPATH += $${BOOST_INCLUDE} }
!isEmpty( QWT_INCLUDE ) { INCLUDEPATH += $${QWT_INCLUDE} }
INCLUDEPATH += ../qwt/src
QT += xml sql
LIBS += $${QWT_LIB}
LIBS += ../qwt/lib/libqwt.a
LIBS += -lm
!isEmpty( D2XX_INCLUDE ) {