generated from seqan/app-template
/
CMakeLists.txt
35 lines (26 loc) · 1.1 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
35
# 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.25)
find_path (RAPTOR_MODULE_PATH "configuration.cmake" HINTS "${CMAKE_CURRENT_LIST_DIR}/cmake/")
list (APPEND CMAKE_MODULE_PATH "${RAPTOR_MODULE_PATH}")
include (version)
project (Raptor
LANGUAGES CXX
VERSION "${RAPTOR_PROJECT_VERSION}"
DESCRIPTION "Raptor -- A fast and space-efficient pre-filter for querying very large collections of nucleotide sequences"
HOMEPAGE_URL "https://github.com/seqan/raptor"
)
if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE
Release
CACHE STRING "Choose the type of build, options are: Debug Coverage Release RelWithDebInfo MinSizeRel." FORCE
)
endif ()
include (configuration)
add_subdirectory (src)
option (INSTALL_RAPTOR "Enable installation of Raptor." ON)
if (INSTALL_RAPTOR)
include (GNUInstallDirs)
install (TARGETS raptor RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif ()