Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

CMake server #55

Open
phuicy opened this issue Nov 14, 2016 · 1 comment
Open

CMake server #55

phuicy opened this issue Nov 14, 2016 · 1 comment

Comments

@phuicy
Copy link

phuicy commented Nov 14, 2016

Cmake has released its latest version
https://blog.kitware.com/cmake-3-7-0-available-for-download/
of particular interest:

A new "cmake-server(7)" mode was added to provide semantic
information about a CMake-generated buildsystem to clients through a
JSON protocol.

So far server-mode basically produces data on the project structure.
But server-mode is supposed to get new functionality, some of which will require interactions between the caller and CMake (e.g. syntax highlighting and debugging the build system).

This could be very useful for this project. In particular, all debugging tools that will be undoubtably integrated with this.

I will start looking at how to integrate it. Any ideas?

thanks
Guy

@JBakamovic
Copy link
Owner

JBakamovic commented Nov 16, 2016

Currently, there is no CMake integration in yavide so integrating cmake-server would actually be the first step towards to that goal. From the quick look, it seems that it could also be used to extract information about the include paths, compilation flags etc. which would be relevant for implementing/configuring IDE services such as auto-completion engines, source code syntax highlighting, indexing and alike.

How to start? I would go and start integrating it as a service. In order to get familiar with the services framework, besides the documentation, perhaps it would be best to have a look at one of the services implementation (i.e. clang-formatter).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants