microsoft / bond

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.
MIT License
2.61k stars 321 forks source link

enhanced to python3 #1180 #1192

Closed VenkateshSoni closed 1 year ago

VenkateshSoni commented 1 year ago

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.

chwarr commented 1 year ago

I'm going to close this PR. If you want to re-open it in the future, let us know.