-
Notifications
You must be signed in to change notification settings - Fork 50
Available Go Tags
Li Shengqiu edited this page Sep 7, 2017
·
1 revision
Go tag is a way to achieve conditional compilation. In C, we can use #if
- in Go, we can use tags.
Simply add tags after -tags
option. For example, -tags "gtk2 wxgo_binary_package_build"
.
For now we provide several tags to meet different compilation needs.
-
gtk2
This tag is only available for
linux_amd64
currently. It will use the gtk2 version of wxWidgets, instead of the gtk3 version by default. -
mingw_workaround
This tag is to solve the #23 libuuid.a issue when compiling wxWidgets.
-
wxgo_binary_package_build
This tag is used for building binary-only-packages.