mirror of
https://github.com/ggerganov/llama.cpp
synced 2026-04-25 21:14:49 +02:00
* cmake : allow libcommon to be shared * cmake : rename libcommon to libllama-common * cont : set -fPIC for httplib * cont : export all symbols * cont : fix build_info exports * libs : add libllama-common-base * log : add common_log_get_verbosity_thold()
6 lines
235 B
CMake
6 lines
235 B
CMake
set(TARGET llama-debug)
|
|
add_executable(${TARGET} debug.cpp)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_link_libraries(${TARGET} PRIVATE llama-common llama ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|