forked from DerrickWood/kraken2
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
2f00490
commit 60b2c3d
Showing
2 changed files
with
68 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
project(kraken2) | ||
|
||
if(NOT CMAKE_BUILD_TYPE) | ||
set(CMAKE_BUILD_TYPE Release) | ||
endif() | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
add_compile_options(-Wall) | ||
add_definitions(-DLINEAR_PROBING) | ||
|
||
set(CMAKE_CXX_FLAGS_DEBUG "-g") | ||
set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||
|
||
include(FindOpenMP) | ||
if(OPENMP_FOUND) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") | ||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}") | ||
else(OPENMP_FOUND) | ||
message("ERROR: OpenMP could not be found.") | ||
endif(OPENMP_FOUND) | ||
|
||
add_subdirectory(src) |
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,42 @@ | ||
add_executable(build_db | ||
build_db.cc | ||
mmap_file.cc | ||
compact_hash.cc | ||
taxonomy.cc | ||
seqreader.cc | ||
mmscanner.cc | ||
omp_hack.cc | ||
utilities.cc) | ||
|
||
add_executable(classify | ||
classify.cc | ||
reports.cc | ||
mmap_file.cc | ||
compact_hash.cc | ||
taxonomy.cc | ||
seqreader.cc | ||
mmscanner.cc | ||
omp_hack.cc | ||
aa_translate.cc | ||
utilities.cc) | ||
|
||
add_executable(estimate_capacity | ||
estimate_capacity.cc | ||
seqreader.cc | ||
mmscanner.cc | ||
omp_hack.cc | ||
utilities.cc) | ||
|
||
add_executable(dump_table | ||
dump_table.cc | ||
mmap_file.cc | ||
compact_hash.cc | ||
omp_hack.cc | ||
taxonomy.cc | ||
reports.cc) | ||
|
||
add_executable(lookup_accession_numbers | ||
lookup_accession_numbers.cc | ||
mmap_file.cc | ||
omp_hack.cc | ||
utilities.cc) |