b22c9fea47
This should make things a bit easier to debug. Update-Note: Test binaries on Windows now link to dbghelp. Bug: 259 Change-Id: I9da1fc89d429080c5250238e4341445922b1dd8e Reviewed-on: https://boringssl-review.googlesource.com/c/34868 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com>
32 lines
610 B
CMake
32 lines
610 B
CMake
add_library(
|
|
test_support_lib
|
|
|
|
STATIC
|
|
|
|
abi_test.cc
|
|
file_test.cc
|
|
malloc.cc
|
|
test_util.cc
|
|
wycheproof_util.cc
|
|
)
|
|
|
|
if (LIBUNWIND_FOUND)
|
|
target_compile_options(test_support_lib PRIVATE ${LIBUNWIND_CFLAGS_OTHER})
|
|
target_include_directories(test_support_lib PRIVATE ${LIBUNWIND_INCLUDE_DIRS})
|
|
target_link_libraries(test_support_lib ${LIBUNWIND_LDFLAGS})
|
|
endif()
|
|
if(WIN32)
|
|
target_link_libraries(test_support_lib dbghelp)
|
|
endif()
|
|
add_dependencies(test_support_lib global_target)
|
|
|
|
add_library(
|
|
boringssl_gtest_main
|
|
|
|
OBJECT
|
|
|
|
gtest_main.cc
|
|
)
|
|
|
|
add_dependencies(boringssl_gtest_main global_target)
|