2023-06-28 17:53:37 +02:00
|
|
|
set(TARGET embdinput)
|
|
|
|
add_library(${TARGET} embd-input-lib.cpp embd-input.h)
|
2023-07-19 09:01:11 +02:00
|
|
|
install(TARGETS ${TARGET} LIBRARY)
|
2023-06-28 17:53:37 +02:00
|
|
|
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
|
|
|
if(TARGET BUILD_INFO)
|
|
|
|
add_dependencies(${TARGET} BUILD_INFO)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(TARGET embd-input-test)
|
|
|
|
add_executable(${TARGET} embd-input-test.cpp)
|
2023-07-19 09:01:11 +02:00
|
|
|
install(TARGETS ${TARGET} RUNTIME)
|
2023-06-28 17:53:37 +02:00
|
|
|
target_link_libraries(${TARGET} PRIVATE common llama embdinput ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
|
|
|
if(TARGET BUILD_INFO)
|
|
|
|
add_dependencies(${TARGET} BUILD_INFO)
|
|
|
|
endif()
|