From 8e3d6ea5e3c83fe42cb904b6ccc4fe2b73f76aae Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 30 Mar 2024 09:52:55 -0400 Subject: refactor!: Some api (struct) changes and updated tests --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ab86081..f9a1642 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,8 +43,7 @@ if(MSVC) /GS #buffer security check $<$:/FC> #show full path in diagnostics - $<$:/showIncludes> #show a list of all included header files during build - + $<$:/showIncludes> #show a list of all included header files during build $<$:/wd4820> #disable warnings for struct padding and spectre mitigation wuen WX is enabled $<$:/wd5045> #disable warnings for spectre mitigation insertion @@ -91,6 +90,7 @@ if(NOT SECP256K1_LIB) message(FATAL_ERROR "secp256k1 library not found on local system") endif() +message(STATUS "secp256k1 library found at ${SECP256K1_LIB}") target_link_libraries(${CMAKE_PROJECT_NAME} ${SECP256K1_LIB}) @@ -117,12 +117,12 @@ target_link_libraries(${CMAKE_PROJECT_NAME} ${MBEDCRYPTO_LIB} ${MBEDTLS_LIB}) #TESTS if(BUILD_TESTS) -#add test executable and link to library -add_executable(nctest tests/test.c) -target_link_libraries(nctest ${CMAKE_PROJECT_NAME}) -#link mbedtls crypto sahred library -target_link_libraries(nctest ${MBEDCRYPTO_LIB} ${MBEDTLS_LIB}) -target_include_directories(nctest PRIVATE "src") + #add test executable and link to library + add_executable(nctest tests/test.c) + target_link_libraries(nctest ${CMAKE_PROJECT_NAME}) + #link mbedtls crypto sahred library + target_link_libraries(nctest ${MBEDCRYPTO_LIB} ${MBEDTLS_LIB}) + target_include_directories(nctest PRIVATE "src") endif() -- cgit