clion-go-lang-cmake icon indicating copy to clipboard operation
clion-go-lang-cmake copied to clipboard

A CLion project with a Go (golang) test application using CMake with working live GDB Debug.

CMake and CLion for Go (golang; go-lang) Example Project

The following is an example project to support Go via CMake in CLion. This allows full GDB debugging from within the IDE using the built in GDB runner.

We still utilize the IntelliJ-platform Go plugin for its built in syntax highlighting, and other editor functionality.

Please use at your own leisure, it has just barely been tested. However it does seem to work: GDB Debugging Sample