Skip to content

Commit b843639

Browse files
author
Olivier Chafik
committed
rename: llama-cli-cmake-pkg(.exe)
1 parent 4881a94 commit b843639

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/main-cmake-pkg/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
cmake_minimum_required(VERSION 3.12)
2-
project("llama-cmake-pkg" C CXX)
3-
set(TARGET llama-cmake-pkg)
2+
project("llama-cli-cmake-pkg" C CXX)
3+
set(TARGET llama-cli-cmake-pkg)
44

55
find_package(Llama 0.0.1 REQUIRED)
66

77
# Bake common functionality in with target. Because applications
88
# using the relocatable Llama package should be outside of the
9-
# source tree, llama-cmake-pkg pretends the dependencies are built-in.
9+
# source tree, llama-cli-cmake-pkg pretends the dependencies are built-in.
1010
set(_common_path "${CMAKE_CURRENT_LIST_DIR}/../../common")
1111
add_library(common OBJECT)
1212
file(GLOB _common_files
@@ -15,7 +15,7 @@ file(GLOB _common_files
1515
)
1616
target_sources(common PRIVATE ${_common_files})
1717

18-
# If the common project was part of "llama-cmake-pkg" the transient
18+
# If the common project was part of "llama-cli-cmake-pkg" the transient
1919
# defines would automatically be attached. Because the common func-
2020
# tionality is separate, but dependent upon the defines, it must be
2121
# explicitly extracted from the "llama" target.

examples/main-cmake-pkg/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# llama.cpp/example/main-cmake-pkg
22

3-
This program builds the [llama](../main) CLI using a relocatable CMake package. It serves as an example of using the `find_package()` CMake command to conveniently include [llama.cpp](https://github.com/ggerganov/llama.cpp) in projects which live outside of the source tree.
3+
This program builds [llama-cli](../main) using a relocatable CMake package. It serves as an example of using the `find_package()` CMake command to conveniently include [llama.cpp](https://github.com/ggerganov/llama.cpp) in projects which live outside of the source tree.
44

55
## Building
66

@@ -20,7 +20,7 @@ cmake --build build --config Release
2020
cmake --install build --prefix C:/LlamaCPP
2121
```
2222

23-
### Build llama-cmake-pkg
23+
### Build llama-cli-cmake-pkg
2424

2525

2626
```cmd

0 commit comments

Comments
 (0)