2020-06-13 19:00:39 +00:00
|
|
|
# Copyright (c) 2020, tevador <tevador@gmail.com>
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 2.8.7)
|
|
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE Release)
|
|
|
|
message(STATUS "Setting default build type: ${CMAKE_BUILD_TYPE}")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
project(monero-seed)
|
|
|
|
|
2020-09-15 14:00:06 +00:00
|
|
|
add_library(${PROJECT_NAME}
|
2020-06-13 19:00:39 +00:00
|
|
|
src/argon2/blake2/blake2b.c
|
|
|
|
src/argon2/argon2.c
|
|
|
|
src/argon2/core.c
|
|
|
|
src/argon2/ref.c
|
|
|
|
src/galois_field.cpp
|
|
|
|
src/gf_elem.cpp
|
|
|
|
src/gf_poly.cpp
|
|
|
|
src/monero_seed.cpp
|
2020-06-14 19:54:15 +00:00
|
|
|
src/pbkdf2.c
|
2020-06-13 19:00:39 +00:00
|
|
|
src/reed_solomon_code.cpp
|
|
|
|
src/secure_random.cpp
|
|
|
|
src/wordlist.cpp)
|
|
|
|
|
|
|
|
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
|
2020-09-15 14:00:06 +00:00
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC src)
|