mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-01 07:30:17 +01:00
9b84ae1806
* Revising GBNF validator program to be much simpler. * Changing from streams to using cstdio * Adding final newline character.
6 lines
256 B
CMake
6 lines
256 B
CMake
set(TARGET gbnf-validator)
|
|
add_executable(${TARGET} gbnf-validator.cpp)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_link_libraries(${TARGET} PRIVATE common grammar-parser llama ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|