mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 14:47:49 +08:00
b41ddf8072
* Add binn library * Fix binn.h include * Fix UWP. Replace to safe functions * Fix uwp patch * [binn] update uwp patch
24 lines
512 B
CMake
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
|
|
)
|