Verzeichnis graphics/asymptote/LspCpp
README.md
LspCpp
Dependencies
LspCpp
depends on boost, rapidjson, utfcpp, uri.
Build
Linux / Mac
- On linux, install boost
- On Mac, install boost on Mac
$ sudo apt-get install libboost-dev
$ brew install boost
- Building with
CMake
———————–
$ mkdir _build $ cd _build $ cmake -DUri_BUILD_TESTS=OFF .. $ make -j4
Windows
- 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 ..
- "cmake -help" is useful if you are not familiar with cmake.
- Build it with Visual Studio.
Reference
Some code from :cquery
Projects using LspCpp:
## License MIT
Example:
Development guide
For any merges into the master branch, ensure the C++ code complies with the clang-format standard. As of currently, the latest clang-format version offered in ubuntu 24.04 (18) is used, but this may change in the future as newer versions of clang-format is available for Ubuntu.
To check the current version of clang-format used, see the check-format-cpp workflow. It prints out the version used. Ensure the C++ code is compliant with that version of clang-format.
vcpkg.json
is optionally provided for convenience. It is not required for compiling LspCpp.
