Some checks are pending
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run
Check Pre-Tokenizer Hashes / pre-tokenizer-hashes (push) Waiting to run
Python check requirements.txt / check-requirements (push) Waiting to run
Python Type-Check / python type-check (push) Waiting to run
Update Operations Documentation / update-ops-docs (push) Waiting to run
11 lines
490 B
CMake
11 lines
490 B
CMake
set(TARGET llama-diffusion)
|
|
add_library(${TARGET} STATIC diffusion.cpp diffusion.h)
|
|
target_link_libraries(${TARGET} PUBLIC llama llama-common ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PUBLIC cxx_std_17)
|
|
|
|
set(TARGET llama-diffusion-cli)
|
|
add_executable(${TARGET} diffusion-cli.cpp)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_link_libraries(${TARGET} PRIVATE llama-diffusion llama llama-common ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|