mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
64d550b430
* Updated libunibreak and added config.cmake file * Updated version * Updated the manifest file * updated git-tree * Remove vcpkg-cmake-config dependency * updated version Co-authored-by: Benjamin Oldenburg <benamin.oldenburg@ordis.co.th>
45 lines
781 B
CMake
45 lines
781 B
CMake
cmake_minimum_required(VERSION 3.8.0)
|
|
|
|
project(libunibreak)
|
|
|
|
set(libunibreak_srcs
|
|
src/linebreak.c
|
|
src/linebreakdata.c
|
|
src/linebreakdef.c
|
|
src/wordbreak.c
|
|
src/wordbreakdata.c
|
|
src/graphemebreak.c
|
|
src/graphemebreakdata.c
|
|
src/emojidef.c
|
|
src/unibreakbase.c
|
|
src/unibreakdef.c
|
|
)
|
|
|
|
include_directories(src)
|
|
|
|
add_library(unibreak ${libunibreak_srcs})
|
|
|
|
install(
|
|
TARGETS unibreak
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
|
|
if(NOT DISABLE_INSTALL_HEADERS)
|
|
install(
|
|
FILES
|
|
src/emojidef.h
|
|
src/graphemebreak.h
|
|
src/graphemebreakdef.h
|
|
src/linebreak.h
|
|
src/linebreakdef.h
|
|
src/test_skips.h
|
|
src/unibreakbase.h
|
|
src/unibreakdef.h
|
|
src/wordbreak.h
|
|
src/wordbreakdef.h
|
|
DESTINATION include
|
|
)
|
|
endif()
|