2016-01-06 02:08:24 +01:00
|
|
|
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
|
|
|
|
|
|
|
|
# meta data
|
|
|
|
set(META_PROJECT_NAME repoindex)
|
2017-01-22 20:47:14 +01:00
|
|
|
set(META_APP_CATEGORIES "Utility;Network;")
|
2016-02-27 21:00:58 +01:00
|
|
|
set(META_APP_NAME "Repository Browser")
|
2016-01-06 02:08:24 +01:00
|
|
|
set(META_APP_AUTHOR "Martchus")
|
|
|
|
set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
|
2016-02-27 21:00:58 +01:00
|
|
|
set(META_APP_DESCRIPTION "Repository browser for Arch Linux")
|
2016-01-06 02:08:24 +01:00
|
|
|
set(META_VERSION_MAJOR 0)
|
2016-02-26 01:27:57 +01:00
|
|
|
set(META_VERSION_MINOR 2)
|
2020-03-08 14:12:22 +01:00
|
|
|
set(META_VERSION_PATCH 7)
|
2018-09-29 11:38:43 +02:00
|
|
|
set(META_NO_TIDY ON)
|
2016-05-26 02:29:56 +02:00
|
|
|
|
|
|
|
project(${META_PROJECT_NAME})
|
2016-01-06 02:08:24 +01:00
|
|
|
|
2019-03-14 18:15:03 +01:00
|
|
|
set(CONFIGURATION_PACKAGE_SUFFIX "" CACHE STRING "sets the suffix for find_package() calls to packages configured via c++utilities")
|
|
|
|
|
2016-04-25 22:30:11 +02:00
|
|
|
# add subdirectories
|
|
|
|
add_subdirectory(web)
|
|
|
|
add_subdirectory(lib)
|
|
|
|
add_subdirectory(cli)
|
|
|
|
add_subdirectory(gui)
|