mirror of
https://git.wownero.com/wowlet/wownero-seed.git
synced 2024-08-15 01:03:29 +00:00
wowify
This commit is contained in:
parent
8d19ea23db
commit
3d70455534
17 changed files with 49 additions and 49 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
option(MONERO_SEED_DEMO "Build a demo executable for monero-seed")
|
||||
option(WOWNERO_SEED_DEMO "Build a demo executable for wownero-seed")
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
message(STATUS "Setting default build type: ${CMAKE_BUILD_TYPE}")
|
||||
endif()
|
||||
|
||||
project(monero-seed)
|
||||
project(wownero-seed)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
|
@ -21,7 +21,7 @@ src/argon2/ref.c
|
|||
src/galois_field.cpp
|
||||
src/gf_elem.cpp
|
||||
src/gf_poly.cpp
|
||||
src/monero_seed.cpp
|
||||
src/wownero_seed.cpp
|
||||
src/pbkdf2.c
|
||||
src/reed_solomon_code.cpp
|
||||
src/secure_random.cpp
|
||||
|
@ -30,9 +30,9 @@ src/wordlist.cpp)
|
|||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/monero_seed>)
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/wownero_seed>)
|
||||
|
||||
if(MONERO_SEED_DEMO)
|
||||
if(WOWNERO_SEED_DEMO)
|
||||
add_executable(demo src/main.cpp)
|
||||
set_property(TARGET demo PROPERTY CXX_STANDARD 11)
|
||||
target_link_libraries(demo -Wl,--whole-archive ${PROJECT_NAME} -Wl,--no-whole-archive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue