geocoordinatecalculator/geocoordinatecalculator.pro

54 lines
1.2 KiB
Prolog
Raw Normal View History

2015-12-08 08:33:39 +01:00
# meta data
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."
VERSION = 1.1.0
2015-06-24 23:20:44 +02:00
2015-12-08 08:33:39 +01:00
# implicit configuration: no GUI
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!")
}
}
2015-12-08 08:33:39 +01:00
# basic configuration: console application, no Qt
2015-06-24 23:20:44 +02:00
TEMPLATE = app
CONFIG -= qt
2015-09-01 20:34:20 +02:00
CONFIG += console
2015-06-24 23:20:44 +02:00
2015-12-08 08:33:39 +01:00
# add project files
2015-06-24 23:20:44 +02:00
HEADERS += \
main.h \
location.h \
angle.h \
utils.h
2015-12-08 08:33:39 +01:00
SOURCES += \
main.cpp \
location.cpp \
angle.cpp \
utils.cpp
2015-06-24 23:20:44 +02:00
OTHER_FILES += \
README.md \
2015-12-08 08:33:39 +01:00
LICENSE \
CMakeLists.txt \
resources/config.h.in \
resources/windows.rc.in
2015-06-24 23:20:44 +02:00
2015-12-08 08:33:39 +01:00
# add libs
2015-06-24 23:20:44 +02:00
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