We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2da20 commit 98de1c3Copy full SHA for 98de1c3
examples/CMakeLists.txt
@@ -35,4 +35,5 @@ else()
35
add_subdirectory(perplexity)
36
add_subdirectory(embedding)
37
add_subdirectory(save-load-state)
38
+ add_subdirectory(server)
39
endif()
examples/server/CMakeLists.txt
@@ -0,0 +1,11 @@
1
+set(TARGET server)
2
+add_executable(${TARGET} server.cpp)
3
+
4
+# Boost is needed for Crow
5
+find_package(Boost 1.81.0)
6
+include_directories(${Boost_INCLUDE_DIRS})
7
8
+target_link_libraries(${TARGET} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
9
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
10
+target_compile_features(${TARGET} PRIVATE cxx_std_11)
11
0 commit comments