CMakeLists.txt 310 B

12345678910
  1. set(TARGET llama-cli)
  2. add_executable(${TARGET} cli.cpp)
  3. target_link_libraries(${TARGET} PRIVATE server-context PUBLIC common ${CMAKE_THREAD_LIBS_INIT})
  4. target_compile_features(${TARGET} PRIVATE cxx_std_17)
  5. include_directories(../server)
  6. if(LLAMA_TOOLS_INSTALL)
  7. install(TARGETS ${TARGET} RUNTIME)
  8. endif()