mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
b928ae1ba8
Some crypto libraries (like CyaSSL, MatrixSSL and CommonCrypto) either don't have or expose this functionality at all, expose only part of it, or (like OpenSSL) have heavyweight API for it. Also, for the task as easy as BASE64 encoding and decoding it's much better to use small and simple specialized library.
12 lines
256 B
CMake
12 lines
256 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(b64 C)
|
|
|
|
include_directories(include)
|
|
|
|
add_library(${PROJECT_NAME} STATIC
|
|
src/cdecode.c
|
|
src/cencode.c
|
|
)
|
|
|
|
install(TARGETS ${PROJECT_NAME} DESTINATION lib)
|
|
install(DIRECTORY include/b64 DESTINATION include)
|