mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 15:28:59 +08:00
36 lines
569 B
CMake
36 lines
569 B
CMake
cmake_minimum_required(VERSION 3.8.0)
|
|
|
|
project(libunibreak)
|
|
|
|
set(libunibreak_srcs
|
|
src/linebreakdata.c
|
|
src/linebreakdef.c
|
|
src/wordbreak.c
|
|
src/graphemebreak.c
|
|
src/unibreakbase.c
|
|
src/unibreakdef.c
|
|
)
|
|
|
|
|
|
include_directories(src)
|
|
|
|
add_library(libunibreak ${libunibreak_srcs})
|
|
|
|
install(
|
|
TARGETS libunibreak
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
|
|
if(NOT DISABLE_INSTALL_HEADERS)
|
|
install(
|
|
FILES
|
|
src/linebreak.h
|
|
src/linebreakdef.h
|
|
src/wordbreak.h
|
|
src/wordbreakdef.h
|
|
DESTINATION include
|
|
)
|
|
endif()
|