examples : do not use common library in simple example (#9803)
* examples : do not use common library in simple example * add command line parser, simplify code
This commit is contained in:
parent
c81f3bbb05
commit
c7499c557c
2 changed files with 128 additions and 96 deletions
|
@ -1,5 +1,5 @@
|
|||
set(TARGET llama-simple)
|
||||
add_executable(${TARGET} simple.cpp)
|
||||
install(TARGETS ${TARGET} RUNTIME)
|
||||
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue