|
a |
|
b/third_party/seqan.cmake |
|
|
1 |
#https://seqan.readthedocs.io/en/seqan-v2.0.2/BuildManual/IntegrationWithYourOwnBuildSystem.html |
|
|
2 |
if (NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/seqan) |
|
|
3 |
|
|
|
4 |
message("build new seqan ") |
|
|
5 |
ExternalProject_Add( |
|
|
6 |
seqan |
|
|
7 |
PREFIX ${CMAKE_CURRENT_LIST_DIR}/seqan |
|
|
8 |
GIT_REPOSITORY https://github.com/seqan/seqan.git |
|
|
9 |
CONFIGURE_COMMAND "" |
|
|
10 |
BUILD_COMMAND "" |
|
|
11 |
INSTALL_COMMAND "" |
|
|
12 |
) |
|
|
13 |
|
|
|
14 |
else() |
|
|
15 |
|
|
|
16 |
add_custom_target(seqan) |
|
|
17 |
|
|
|
18 |
endif() |
|
|
19 |
set (CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -DSEQAN_ENABLE_DEBUG=0 -DSEQAN_ENABLE_TESTING=0 -DSEQAN_HAS_ZLIB=1 " ) |
|
|
20 |
|
|
|
21 |
MESSAGE( STATUS "new target: seqan" ) |