-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
35 lines (26 loc) · 1.36 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
# --------------------------------------------------------------------------------------------------
# Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
# Copyright (c) 2016-2022, Knut Reinert & MPI für molekulare Genetik
# This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
# shipped with this file and also available at: https://github.com/seqan/raptor/blob/main/LICENSE.md
# --------------------------------------------------------------------------------------------------
cmake_minimum_required (VERSION 3.16)
find_path (RAPTOR_MODULE_PATH "raptor-config.cmake" HINTS "${CMAKE_CURRENT_LIST_DIR}/build_system/")
list (APPEND CMAKE_MODULE_PATH "${RAPTOR_MODULE_PATH}")
include (raptor-config-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"
)
find_package (Raptor REQUIRED HINTS ${RAPTOR_MODULE_PATH})
option (BUILD_RAPTOR "Enable building of Raptor." ON)
if (BUILD_RAPTOR)
add_subdirectory (src)
endif ()
option (INSTALL_RAPTOR_HEADERS "Enable installation of Raptor headers." OFF)
if (INSTALL_RAPTOR_HEADERS)
include (raptor-install)
include (raptor-package)
endif ()