mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 06:49:01 +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
|
|
)
|