Skip to content

A Language Server Protocol implementation in C++

License

Notifications You must be signed in to change notification settings

alex-torregrosa/LspCpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LspCpp

Dependencies

LspCpp depends on the boost and rapidjson,utfcpp,uri and threadpool

Build

Linux / Mac

  1. On linux ,install boost

       $ sudo apt-get install libboost-dev 

    On Mac,install boost on Mac

       $ brew install boost
  2. Restore the submodules.

      $ git submodule init
      $ git submodule update
  3. Building with CMake


$ mkdir _build
$ cd _build
$ cmake -DUri_BUILD_TESTS=OFF ..
$ make -j4

Windows

  1. Restore the submodules.
     git submodule init
     git submodule update
  2. Open cmd or powershell and generate visual studio project with CMake.

mkdir _build
cd _build
cmake -DUri_BUILD_TESTS=OFF -DUri_USE_STATIC_CRT=OFF ..
  1. "cmake -help" is useful if you are not familiar with cmake.

  2. Build it with Visual Studio.

Reference

Some code from :cquery

Projects using LspCpp:

License

MIT

Example:

It's here

About

A Language Server Protocol implementation in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.2%
  • C 7.6%
  • CMake 2.2%