aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-03-30 09:52:55 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-03-30 09:52:55 -0400
commit8e3d6ea5e3c83fe42cb904b6ccc4fe2b73f76aae (patch)
tree1e233670a0ad1940085efe4628d30d312d3b0e8c /CMakeLists.txt
parente88e8420520204e20802516f01d4488bb0b1d6ea (diff)
refactor!: Some api (struct) changes and updated tests
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
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
$<$<CONFIG:Debug>:/FC> #show full path in diagnostics
- $<$<CONFIG:Debug>:/showIncludes> #show a list of all included header files during build
-
+ $<$<CONFIG:Debug>:/showIncludes> #show a list of all included header files during build
$<$<CONFIG:Debug>:/wd4820> #disable warnings for struct padding and spectre mitigation wuen WX is enabled
$<$<CONFIG:Debug>:/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()