1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Merge 0.81 branch.

This commit is contained in:
Simon Tatham
2024-04-15 19:42:50 +01:00
20 changed files with 925 additions and 215 deletions

View File

@ -100,9 +100,15 @@ add_executable(cgtest
$<TARGET_OBJECTS:puttygen-common>)
target_link_libraries(cgtest keygen console crypto utils)
add_executable(testsc
${CMAKE_SOURCE_DIR}/test/testsc.c)
target_link_libraries(testsc keygen crypto utils)
if(HAVE_ALIGNED_ALLOC)
add_library(overaligned_alloc OBJECT
${CMAKE_SOURCE_DIR}/utils/memory.c)
target_compile_definitions(overaligned_alloc PRIVATE ALLOCATION_ALIGNMENT=128)
add_executable(testsc
${CMAKE_SOURCE_DIR}/test/testsc.c
$<TARGET_OBJECTS:overaligned_alloc>)
target_link_libraries(testsc keygen crypto utils)
endif()
add_executable(testzlib
${CMAKE_SOURCE_DIR}/test/testzlib.c