Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
Changed the line set(GBC_EXECUTABLE ${BOND_GBC_PATH}) to set(GBC_EXECUTABLE ${PYTHON3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/gbc.py). This change is necessary because the gbc executable is now written in Python, so we need to tell CMake to use the Python interpreter to run it.
Added the line find_package(Python3) to the beginning of the file. This line tells CMake to find the Python interpreter, so that it can be used to run the gbc executable.
Changed the line
set(GBC_EXECUTABLE ${BOND_GBC_PATH})
toset(GBC_EXECUTABLE ${PYTHON3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/gbc.py)
. This change is necessary because the gbc executable is now written in Python, so we need to tell CMake to use the Python interpreter to run it. Added the linefind_package(Python3)
to the beginning of the file. This line tells CMake to find the Python interpreter, so that it can be used to run the gbc executable.