D5188: [WIP] Basic support for building Go projects.

Mikhail Ivchenko noreply at phabricator.kde.org
Sun Mar 26 18:53:30 UTC 2017


ematirov created this revision.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Initial work on build support (code is mostly based on CustomMakeBuild plugin).
  For testing, create empty project with golang code and change in projectname.kdev4:
  Manager=KDevGoBuildSystem
  
  Known bugs:
  
  1. No "build" \ "install" \ "clean" buttons on right-click menu in projects view. However, "Build selection" works.
  2. No error messages from Golang in case something is wrong - only exit code is shown. (Could be easily tested with running "install" in case project is not in GOPATH)
  3. Probably something more.
  
  Another ToDos:
  
  - Add support for configuring GOPATH and go executable path
  
  This revision is work in progress and was created to share status and receive suggestions \ nitpicks.
  So, any opinions are welcome!

TEST PLAN
  Manual testing by opening project with manager "KDevGoBuildSystem" and trying to build\install\clean.

REPOSITORY
  R59 KDevelop Go

BRANCH
  building_feature

REVISION DETAIL
  https://phabricator.kde.org/D5188

AFFECTED FILES
  CMakeLists.txt
  go-buildsystem/CMakeLists.txt
  go-buildsystem/gobuilder.cpp
  go-buildsystem/gobuilder.h
  go-buildsystem/gobuildsystem.cpp
  go-buildsystem/gobuildsystem.h
  go-buildsystem/gobuildsystem.json
  go-buildsystem/gobuildsystem.qrc
  go-buildsystem/gobuildsystem.rc

To: ematirov, #kdevelop
Cc: kdevelop-devel, #kdevelop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170326/9f75ffdc/attachment.html>


More information about the KDevelop-devel mailing list