blob: 495ff2d2a4d571d53735bf2cf9d44ff48bb83bb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
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/eastasianwidthdef.c
src/eastasianwidthdata.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/eastasianwidthdef.h
src/unibreakbase.h
src/unibreakdef.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()
|