diff options
author | H. İbrahim Güngör <igungor@gmail.com> | 2016-01-07 20:59:10 +0200 |
---|---|---|
committer | H. İbrahim Güngör <igungor@gmail.com> | 2016-01-07 20:59:10 +0200 |
commit | 3235e28a041c08ecebef4bc63c38a91d772793c1 (patch) | |
tree | e870fc58eb9ad3aa65a102389c7bf7f2bec0b6d3 /bindings/go | |
parent | 8c0321f80411286ca60cbfdd11320df36b28cf2e (diff) |
bindings/go: Use `go` tool to generate go bindings
`go` tool can help build packages by recognizing `.swig` and `.swigcxx`
extensions. It invokes the `swig` command internally while building the
package.
Diffstat (limited to 'bindings/go')
-rw-r--r-- | bindings/go/quackle.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/go/quackle.go b/bindings/go/quackle.go new file mode 100644 index 0000000..bbc53b8 --- /dev/null +++ b/bindings/go/quackle.go @@ -0,0 +1,6 @@ +package quackle + +// #cgo CXXFLAGS: -I../.. +// #cgo pkg-config: QtCore +// #cgo LDFLAGS: -L. -lquackle -lquackleio -lQtCore +import "C" |