Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/examples/simple/CMakeLists.txt # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / examples / simple / CMakeLists.txt` 21 lines ยท 431 bytes Raw Blame History 1 # 2 # simple-ctx 3 4 set(TEST_TARGET simple-ctx) 5 add_executable(${TEST_TARGET} simple-ctx.cpp) 6 target_link_libraries(${TEST_TARGET} PRIVATE ggml) 7 8 # 9 # simple-backend 10 11 set(TEST_TARGET simple-backend) 12 add_executable(${TEST_TARGET} simple-backend.cpp) 13 target_link_libraries(${TEST_TARGET} PRIVATE ggml) 14 15 if (GGML_CUDA) 16 add_compile_definitions(GGML_USE_CUDA) 17 endif() 18 19 if (GGML_METAL) 20 add_compile_definitions(GGML_USE_METAL) 21 endif()