vcpkg/ports/binn/CMakeLists.txt
Nikita b41ddf8072 [binn] new port (#5637)
* Add binn library

* Fix binn.h include

* Fix UWP. Replace to safe functions

* Fix uwp patch

* [binn] update uwp patch
2019-04-12 08:58:29 -07:00

24 lines
512 B
CMake

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"
)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
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
)