mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	This is a fork of linenoise that is C++17 compatible. I intend on adding it to llama-run so we can do things like traverse prompt history via the up and down arrows: https://github.com/ericcurtin/linenoise.cpp Signed-off-by: Eric Curtin <ecurtin@redhat.com>
		
			
				
	
	
		
			6 lines
		
	
	
		
			253 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			253 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
set(TARGET llama-run)
 | 
						|
add_executable(${TARGET} run.cpp linenoise.cpp/linenoise.cpp)
 | 
						|
install(TARGETS ${TARGET} RUNTIME)
 | 
						|
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
 | 
						|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
 |