forked from seqan/sharg-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
29 lines (21 loc) · 1.07 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause
# This file provides functionality common to the different test modules used by
# Sharg. To build tests, run cmake on one of the sub-folders in this directory
# which contain a CMakeLists.txt.
cmake_minimum_required (VERSION 3.12)
find_path (SHARG_MODULE_PATH "sharg-config.cmake" HINTS "${CMAKE_CURRENT_LIST_DIR}/build_system/")
list (APPEND CMAKE_MODULE_PATH "${SHARG_MODULE_PATH}")
include (sharg-config-version)
project (sharg
LANGUAGES CXX
VERSION "${SHARG_PROJECT_VERSION}"
DESCRIPTION "Sharg -- hungrily eating away your arguments"
HOMEPAGE_URL "https://github.com/seqan/sharg-parser")
find_package (Sharg 1.0 REQUIRED HINTS ${SHARG_MODULE_PATH})
option (INSTALL_SHARG "Enable installation of Sharg. (Projects embedding Sharg may want to turn this OFF.)" ON)
if (INSTALL_SHARG)
include (sharg-install)
include (sharg-package)
endif ()