94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
23 lines
275 B
CMake
23 lines
275 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
base64
|
|
|
|
OBJECT
|
|
|
|
base64.c
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_executable(
|
|
base64_test
|
|
|
|
base64_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(base64_test crypto)
|
|
add_dependencies(all_tests base64_test)
|
|
endif()
|