blob: afdd8814cfcbaba1e2304da623b3bd6475129cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# LspCpp
## Dependencies
`LspCpp` depends on boost, rapidjson, utfcpp, uri.
## Build
### Linux / Mac
1. On linux, install boost
```shell
$ sudo apt-get install libboost-dev
```
On Mac, install boost on Mac
```shell
$ brew install boost
```
2. Building with ``CMake``
-----------------------
$ mkdir _build
$ cd _build
$ cmake -DUri_BUILD_TESTS=OFF ..
$ make -j4
### Windows
1. 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 ..
2. "cmake -help" is useful if you are not familiar with cmake.
3. Build it with Visual Studio.
## Reference
Some code from :[cquery][1]
## Projects using LspCpp:
* [JCIDE](https://www.javacardos.com/tools)
* [LPG-language-server](https://github.com/kuafuwang/LPG-language-server)
## License
MIT
## Example:
[It's here](https://github.com/kuafuwang/LspCpp/tree/master/examples)
[1]: https://github.com/cquery-project/cquery "cquery:"
[2]: https://www.javacardos.com/tools "JcKit:"
[3]: https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore "Package Restore"
|