summaryrefslogtreecommitdiff
path: root/examples/tokenize/CMakeLists.txt
diff options
context:
space:
mode:
authorzakkor <edward.partenie@gmail.com>2023-11-17 17:36:44 +0200
committerGitHub <noreply@github.com>2023-11-17 17:36:44 +0200
commit2fa02b4b3d86182381311c98b75065ee1b7c2930 (patch)
treeb267f1f721a76afdcdb66230c236a1cbc67b6958 /examples/tokenize/CMakeLists.txt
parent2ab0707acbf3a3ca9e5bc5959c7920c22eba2257 (diff)
examples : add tokenize (#4039)
Diffstat (limited to 'examples/tokenize/CMakeLists.txt')
-rw-r--r--examples/tokenize/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tokenize/CMakeLists.txt b/examples/tokenize/CMakeLists.txt
new file mode 100644
index 00000000..5e6654d7
--- /dev/null
+++ b/examples/tokenize/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(TARGET tokenize)
+add_executable(${TARGET} tokenize.cpp)
+install(TARGETS ${TARGET} RUNTIME)
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_11)