diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/README.md')
-rwxr-xr-x[-rw-r--r--] | graphics/asymptote/LspCpp/README.md | 111 |
1 files changed, 63 insertions, 48 deletions
diff --git a/graphics/asymptote/LspCpp/README.md b/graphics/asymptote/LspCpp/README.md index 4c279f7f4a..38868872de 100644..100755 --- a/graphics/asymptote/LspCpp/README.md +++ b/graphics/asymptote/LspCpp/README.md @@ -1,48 +1,63 @@ -# LspCpp - -## Dependencies -`LspCpp` depends on the boost and rapidjson,utfcpp,and threadpool - -## Build - -### Linux - 1. Install boost - ```shell - $ sudo apt-get install libboost-dev - ``` - 2. [Restore the submodules][4]. - ```shell - $ git submodule init - $ git submodule update - ``` - 3. Build it. - ```shell - $ make - ``` -### Windows - 1. Open project with Vistual Studio. - 2. [Restore packages][3] with Vistual Studio. - 3. [Restore the submodules][4]. - ```shell - git submodule init - git submodule update - ``` - 4. Build it with Vistual 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/example) - - -[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" -[4]: https://git-scm.com/book/en/v2/Git-Tools-Submodules "Git-Tools-Submodules" +# LspCpp
+
+## Dependencies
+`LspCpp` depends on the boost and rapidjson,utfcpp,uri and threadpool
+
+## 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. [Restore the submodules][4].
+ ```shell
+ $ 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][4].
+ ```shell
+ 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 ..
+
+ 3. "cmake -help" is useful if you are not familiar with cmake.
+
+ 4. 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"
+[4]: https://git-scm.com/book/en/v2/Git-Tools-Submodules "Git-Tools-Submodules"
|