chore(cmake): improve legibility
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
928011dd54
commit
55cb3b6ec7
|
@ -188,7 +188,28 @@ add_subdirectory(lib/da_threading EXCLUDE_FROM_ALL)
|
|||
endif(NOT CMAKE_EXE_LINKER_FLAGS MATCHES "-fuse-ld=lld")
|
||||
endif()
|
||||
|
||||
add_executable(fortuna main.cpp generator.cpp generator.h fortuna.cpp fortuna.h accumulator.cpp accumulator.h pool.cpp pool.h event_adder.h event_adder_impl.h event_scheduler.h entropy_src.h urandom_entropy_src.h do_task.cpp do_task.h util.h seed_file_management.h)
|
||||
|
||||
set(FORTUNA_SOURCES
|
||||
main.cpp
|
||||
fortuna.cpp
|
||||
generator.cpp
|
||||
accumulator.cpp
|
||||
pool.cpp
|
||||
do_task.cpp)
|
||||
set(FORTUNA_HEADERS
|
||||
fortuna.h
|
||||
generator.h
|
||||
accumulator.h
|
||||
pool.h
|
||||
do_task.h
|
||||
event_adder.h
|
||||
event_adder_impl.h
|
||||
event_scheduler.h
|
||||
entropy_src.h
|
||||
urandom_entropy_src.h
|
||||
util.h
|
||||
seed_file_management.h)
|
||||
add_executable(fortuna ${FORTUNA_SOURCES} ${FORTUNA_HEADERS})
|
||||
# ref: https://cmake.org/pipermail/cmake/2016-May/063400.html
|
||||
target_link_libraries(fortuna
|
||||
PRIVATE cryptopp
|
||||
|
|
Reference in New Issue