geocoordinatecalculator/CMakeLists.txt

41 lines
1.0 KiB
CMake
Raw Normal View History

2015-12-05 22:49:18 +01:00
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
2015-12-08 08:33:39 +01:00
# add project files
set(HEADER_FILES
angle.h
location.h
main.h
utils.h
)
set(SRC_FILES
angle.cpp
location.cpp
main.cpp
utils.cpp
)
2016-06-14 00:47:07 +02:00
set(DOC_FILES
README.md
)
2015-12-05 22:49:18 +01:00
# meta data
set(META_PROJECT_NAME geocoordinatecalculator)
2015-12-08 08:33:39 +01:00
set(META_APP_NAME "Geo coordinate calculator")
2015-12-05 22:49:18 +01:00
set(META_APP_AUTHOR "Martchus")
set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
2015-12-08 08:33:39 +01:00
set(META_APP_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-12-05 22:49:18 +01:00
set(META_VERSION_MAJOR 1)
set(META_VERSION_MINOR 1)
2016-06-14 00:47:07 +02:00
set(META_VERSION_PATCH 2)
2015-12-08 08:33:39 +01:00
set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH})
2015-12-05 22:49:18 +01:00
# find c++utilities
2016-06-14 00:47:07 +02:00
find_package(c++utilities 4.0.0 REQUIRED)
use_cpp_utilities()
# include modules to apply configuration
include(BasicConfig)
include(WindowsResources)
include(AppTarget)
2016-07-04 23:30:21 +02:00
include(ShellCompletion)