pineapple/externals/vcpkg/ports/binn/CMakeLists.txt

22 lines
446 B
CMake
Raw Normal View History

2022-07-23 03:01:36 +02:00
cmake_minimum_required(VERSION 3.8)
project(binn
VERSION 1.0
DESCRIPTION "Binn is a binary data serialization format designed to be compact, fast and easy to use."
HOMEPAGE_URL "https://github.com/liteserver/binn"
)
add_library (binn src/binn.h src/binn.c)
target_include_directories(binn
PUBLIC
${PROJECT_SOURCE_DIR}/src
)
install(
TARGETS binn
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)