Skip to content

nmarley/go-cpp-bindings-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go / C++ bindings example

This is an example of Go code calling to a C++ library with a C wrapper.

Makefile build + run

make

Build manually

(cd src/ && g++ -c nummer.cpp && /usr/bin/ar rcs libnummer.a nummer.o)
go build  # this only ensures it compiles

Test manually

go test  # actually runs tests, c++ lib must be built

About

Go / C++ bindings example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published