-
Notifications
You must be signed in to change notification settings - Fork 14
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
23 changed files
with
200 additions
and
94 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 |
---|---|---|
@@ -1,14 +1,4 @@ | ||
.vscode/* | ||
build | ||
cryfa | ||
keygen | ||
|
||
origin | ||
*.fa | ||
*.fq | ||
in | ||
fa | ||
fq | ||
mori | ||
origfa | ||
origfq | ||
keygen |
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 |
---|---|---|
@@ -1,18 +1,42 @@ | ||
cmake_minimum_required(VERSION 3.3.2) | ||
|
||
project(cryfa) | ||
|
||
SET(CMAKE_BUILD_TYPE Release) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -O3") | ||
if(NOT CMAKE_BUILD_TYPE) | ||
set(CMAKE_BUILD_TYPE Release) | ||
endif() | ||
|
||
file(GLOB CRYPTOPP_SOURCE "src/cryptopp/*.cpp") | ||
set(CMAKE_CXX_STANDARD 11) | ||
set(CMAKE_CXX_STANDARD_REQUIRED 11) | ||
set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||
set(CMAKE_CXX_FLAGS_DEBUG "-g") | ||
|
||
add_executable(cryfa | ||
include_directories(${CMAKE_SOURCE_DIR}/src/include) | ||
|
||
find_package(Threads REQUIRED) | ||
|
||
file(GLOB CRYPTOPP_SOURCE "src/cryptopp/*.cpp") | ||
add_library(libCryptopp OBJECT | ||
${CRYPTOPP_SOURCE} | ||
src/cryfa.cpp | ||
) | ||
|
||
add_library(libCryfaCommon OBJECT | ||
src/endecrypto.cpp | ||
src/fasta.cpp | ||
src/fastq.cpp | ||
src/security.cpp) | ||
src/security.cpp | ||
) | ||
|
||
add_executable(cryfa | ||
src/cryfa.cpp | ||
) | ||
|
||
target_link_libraries(cryfa | ||
Threads::Threads | ||
libCryfaCommon | ||
libCryptopp | ||
) | ||
|
||
add_executable(keygen | ||
src/keygen.cpp) | ||
src/keygen.cpp | ||
) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Oops, something went wrong.