Skip to content

Commit 9c6e89d

Browse files
authored
Add cmakelist for llama unicode (#62)
1 parent 0ed8e2e commit 9c6e89d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
cmake_minimum_required(VERSION 3.15)
2+
3+
project(unicode LANGUAGES CXX)
4+
5+
add_library(unicode STATIC
6+
src/unicode.cpp
7+
src/unicode-data.cpp
8+
)
9+
10+
target_include_directories(unicode PUBLIC
11+
${CMAKE_CURRENT_SOURCE_DIR}/include
12+
)
13+
14+
target_compile_features(unicode PUBLIC cxx_std_17)
15+
16+
install(TARGETS unicode
17+
ARCHIVE DESTINATION lib
18+
)
19+
20+
install(DIRECTORY include/ DESTINATION include)

0 commit comments

Comments
 (0)