<table><tr><td style="">ematirov created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5188" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Initial work on build support (code is mostly based on CustomMakeBuild plugin).<br />
For testing, create empty project with golang code and change in projectname.kdev4:<br />
Manager=KDevGoBuildSystem</p>

<p>Known bugs:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">No "build" \ "install" \ "clean" buttons on right-click menu in projects view. However, "Build selection" works.</li>
<li class="remarkup-list-item">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)</li>
<li class="remarkup-list-item">Probably something more.</li>
</ol>

<p>Another ToDos:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Add support for configuring GOPATH and go executable path</li>
</ul>

<p>This revision is work in progress and was created to share status and receive suggestions \ nitpicks.<br />
So, any opinions are welcome!</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Manual testing by opening project with manager "KDevGoBuildSystem" and trying to build\install\clean.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R59 KDevelop Go</div></div></div><br /><div><strong>BRANCH</strong><div><div>building_feature</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5188" rel="noreferrer">https://phabricator.kde.org/D5188</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
go-buildsystem/CMakeLists.txt<br />
go-buildsystem/gobuilder.cpp<br />
go-buildsystem/gobuilder.h<br />
go-buildsystem/gobuildsystem.cpp<br />
go-buildsystem/gobuildsystem.h<br />
go-buildsystem/gobuildsystem.json<br />
go-buildsystem/gobuildsystem.qrc<br />
go-buildsystem/gobuildsystem.rc</div></div></div><br /><div><strong>To: </strong>ematirov, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, KDevelop<br /></div>