2015-06-24 23:20:44 +02:00
projectname = geocoordinatecalculator
2015-07-27 23:32:04 +02:00
appname = "Geo coordinate calculator"
appauthor = Martchus
appurl = "https://github.com/$${appauthor}/$${projectname}"
2015-09-22 01:58:32 +02:00
QMAKE_TARGET_DESCRIPTION = "Command line tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more."
2015-10-16 21:33:58 +02:00
VERSION = 1.0 .1
2015-06-24 23:20:44 +02:00
CONFIG += no - gui
# include . . /../ common . pri when building as part of a subdirs project ; otherwise include general . pri
! include ( . . /../ common . pri ) {
! include ( . / general . pri ) {
error ( "Couldn't find the common.pri or the general.pri file!" )
}
}
TEMPLATE = app
CONFIG -= qt
2015-09-01 20:34:20 +02:00
CONFIG += console
2015-06-24 23:20:44 +02:00
SOURCES += main . cpp \
location . cpp \
angle . cpp \
utils . cpp
HEADERS += \
main . h \
location . h \
angle . h \
utils . h
RESOURCES += images . qrc
OTHER_FILES += \
README . md \
LICENSE
CONFIG ( debug , debug | release ) {
2015-08-26 21:11:56 +02:00
LIBS += - lc ++ utilitiesd
2015-06-24 23:20:44 +02:00
} else {
2015-08-26 21:11:56 +02:00
LIBS += - lc ++ utilities
2015-06-24 23:20:44 +02:00
}
# installs
target . path = $ $ ( INSTALL_ROOT ) / bin
INSTALLS += target