forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (35 loc) · 888 Bytes
/
CMakeLists.txt
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
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the LICENSE
# file in the root directory of this source tree.
set(link_libs
dtoa
hermesRegex
hermesPlatformUnicode)
if (ANDROID)
list(APPEND link_libs log)
endif()
add_llvm_library(hermesSupport
Allocator.cpp
Base64vlq.cpp
CheckedMalloc.cpp
Conversions.cpp
ErrorHandling.cpp
JSONEmitter.cpp
OSCompatPosix.cpp
OSCompatWindows.cpp
PageAccessTrackerPosix.cpp
PerfSection.cpp
RegExpSerialization.cpp
Semaphore.cpp
SHA1.cpp
SNPrintfBuf.cpp
SourceErrorManager.cpp
SimpleDiagHandler.cpp
StringKind.cpp
StringTable.cpp
UTF8.cpp
LEB128.cpp
LINK_LIBS ${link_libs}
)
hermes_link_icu(hermesSupport)