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/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 / CMakeLists.txt` 34 lines ยท 871 bytes Raw Blame History 1 if (GGML_ALL_WARNINGS) 2 if (NOT MSVC) 3 set(cxx_flags 4 # TODO(marella): Add other warnings. 5 -Wpedantic 6 -Wunused-variable 7 -Wno-unused-function 8 -Wno-multichar 9 ) 10 add_compile_options("$<$:${cxx_flags}>") 11 endif() 12 endif() 13 14 add_library(common STATIC common.cpp) 15 target_include_directories(common PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 16 17 add_library(common-ggml STATIC common-ggml.cpp) 18 target_link_libraries(common-ggml PRIVATE ggml) 19 target_include_directories(common-ggml PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 20 21 add_subdirectory(yolo) 22 23 if (NOT GGML_BACKEND_DL) 24 add_subdirectory(gpt-2) 25 add_subdirectory(gpt-j) 26 add_subdirectory(mnist) 27 add_subdirectory(sam) 28 add_subdirectory(simple) 29 add_subdirectory(magika) 30 endif() 31 32 if (GGML_METAL) 33 add_subdirectory(perf-metal) 34 endif()