-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
456 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Finding dependencies | ||
find_package(ZLIB REQUIRED) # required by SeqAn | ||
find_package(BZip2 REQUIRED) # required by SeqAn | ||
find_package(OpenMP) # required by SeqAn | ||
find_package(SeqAn REQUIRED CONFIG) | ||
|
||
if (SeqAn_FOUND AND NOT TARGET SeqAn::SeqAn) | ||
add_library(SeqAn::SeqAn INTERFACE IMPORTED) | ||
set_target_properties(SeqAn::SeqAn PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES "${SEQAN_INCLUDE_DIRS}" | ||
INTERFACE_LINK_LIBRARIES "${SEQAN_LIBRARIES}") | ||
endif() | ||
|
||
set(CMAKE_BUILD_TYPE "Release") | ||
|
||
# Defining target kseq++-bench | ||
add_executable(kseq++-bench kseq++_bench.cpp) | ||
target_compile_options(kseq++-bench PRIVATE -g -Wall -Wpedantic -Werror) | ||
target_include_directories(kseq++-bench | ||
PRIVATE ${PROJECT_SOURCE_DIR}/benchmark/include | ||
PRIVATE SeqAn::SeqAn | ||
PRIVATE kseq++::kseq++) | ||
target_link_libraries(kseq++-bench | ||
PRIVATE SeqAn::SeqAn | ||
PRIVATE kseq++::kseq++) |
Oops, something went wrong.