Download tools/cli/CMakeLists.txt from OpenTransformer/llama.cpp-prismml: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/cli/CMakeLists.txt
- Command line
-
hf download hf://OpenTransformer/llama.cpp-prismml/tools/cli/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/cli/CMakeLists.txt
310 Bytes
| set(TARGET llama-cli) | |
| add_executable(${TARGET} cli.cpp) | |
| target_link_libraries(${TARGET} PRIVATE server-context PUBLIC common ${CMAKE_THREAD_LIBS_INIT}) | |
| target_compile_features(${TARGET} PRIVATE cxx_std_17) | |
| include_directories(../server) | |
| if(LLAMA_TOOLS_INSTALL) | |
| install(TARGETS ${TARGET} RUNTIME) | |
| endif() | |