mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Implement #243, separate core/client (PCH support dropped for now)
This commit is contained in:
parent
bdaf2c16aa
commit
8ac9520dfd
153 changed files with 360 additions and 20020 deletions
23
tests/CMakeLists.txt
Normal file
23
tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,23 @@
|
|||
set(TESTS_SRC
|
||||
"Base64.cpp"
|
||||
"Crypto.cpp"
|
||||
"Identity.cpp"
|
||||
"Utility.cpp"
|
||||
)
|
||||
|
||||
|
||||
if(WITH_TESTS)
|
||||
find_package(Boost COMPONENTS
|
||||
system filesystem regex program_options date_time thread chrono
|
||||
unit_test_framework REQUIRED
|
||||
)
|
||||
|
||||
add_executable(i2pd_tests ${TESTS_SRC})
|
||||
target_link_libraries(
|
||||
i2pd_tests core ${DL_LIB} ${Boost_LIBRARIES} ${CRYPTO++_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
add_test(i2pdTest i2pd_tests)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue