Download zig/CMakeLists.txt from Snapkitty/sov-kernel-monster: direct link, hf CLI and curl.
- Browser
- Download file 705 Bytes
-
https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/zig/CMakeLists.txt
- Command line
-
hf download hf://Snapkitty/sov-kernel-monster/zig/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/zig/CMakeLists.txt
705 Bytes
| # Zig FFI Binding for BOB Quantum Engine | |
| # This module provides FFI bindings to the C ABI interface | |
| if(NOT TARGET bob_quantum) | |
| message(FATAL_ERROR "bob_quantum target must be defined before zig subdirectory") | |
| endif() | |
| # Zig FFI bindings - no compilation at CMake level, Zig build system is independent | |
| add_custom_target(zig_bindings ALL | |
| DEPENDS bob_quantum | |
| COMMENT "Zig FFI bindings verified" | |
| ) | |
| # Install Zig module | |
| install(DIRECTORY src/ | |
| DESTINATION share/bob_quantum/zig/src | |
| FILES_MATCHING PATTERN "*.zig" | |
| ) | |
| # Add to binding documentation | |
| file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/../BINDINGS_SUMMARY.txt" | |
| "Zig: src/bob_quantum.zig (FFI to C ABI) - installed to share/bob_quantum/zig\n" | |
| ) | |