File size: 671 Bytes
9425aed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Racket 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 racket subdirectory")
endif()

# Racket FFI files - no compilation needed, just validation
add_custom_target(racket_bindings ALL
  DEPENDS bob_quantum
  COMMENT "Racket FFI bindings verified"
)

# Install Racket module
install(FILES bob_quantum.rkt
  DESTINATION share/bob_quantum/racket
)

# Add to binding documentation
file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/../BINDINGS_SUMMARY.txt"
  "Racket: bob_quantum.rkt (FFI to C ABI) - installed to share/bob_quantum/racket\n"
)