generated from seqan/library-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
34 lines (27 loc) · 1.12 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
30
31
32
33
34
# 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
cmake_minimum_required (VERSION 3.5)
include (cmake/version.cmake)
project (HIBF
LANGUAGES CXX
VERSION "${HIBF_VERSION}"
DESCRIPTION "HIBF -- the modern C++ library for sequence analysis"
HOMEPAGE_URL "https://github.com/seqan/hibf")
if (HIBF_RELEASE_CANDIDATE_VERSION VERSION_GREATER "0")
set (HIBF_VERSION "${HIBF_VERSION}-rc.${HIBF_RELEASE_CANDIDATE_VERSION}")
endif ()
if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE
Release
CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif ()
set (HIBF_HEADER_PATH "${HIBF_SOURCE_DIR}/include")
include (cmake/configuration.cmake)
add_subdirectory (src)
option (INSTALL_HIBF "Enable installation of HIBF. (Projects embedding HIBF may want to turn this OFF.)" ON)
if (INSTALL_HIBF)
include (GNUInstallDirs)
include (cmake/cpack.cmake)
include (cmake/install.cmake)
endif ()