# Create a build directory
mkdir -p build && cd build
# Configure the build
cmake ..
# Build the library and examples
make
# To include CGO interoperability tests (recommended):
# Configure with BUILD_CGO_TESTS=ON. This will build the 'frpc_cgo_test' executable.
cmake -DBUILD_CGO_TESTS=ON ..
make
# Alternatively, to build only the CGO test target after configuration:
# make frpc_cgo_test
# Run all registered tests (including CGO tests if built)
ctest
# Alternatively, you can run the CGO test executable directly (if built):
# ./frpc_cgo_test (from the build directory)
# Or pass arguments:
# ./frpc_cgo_test --standard=true --visitor=true
# Install the library (optional)
make install