https://github.com/lsp-plugins/lsp-common-lib
Common library for basic language definitions used by LSP Project
https://github.com/lsp-plugins/lsp-common-lib
Last synced: 1 day ago
JSON representation
Common library for basic language definitions used by LSP Project
- Host: GitHub
- URL: https://github.com/lsp-plugins/lsp-common-lib
- Owner: lsp-plugins
- License: lgpl-3.0
- Created: 2020-03-24T16:58:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-06-01T18:28:32.000Z (12 days ago)
- Last Synced: 2026-06-01T20:23:45.829Z (12 days ago)
- Language: C++
- Homepage:
- Size: 492 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
README
# lsp-common-lib
This is a common library for basic C/C++ language definitions used by all
other LSP-related libraries.
It provides:
* Corresponding macros for architecture and platform detection.
* Some set of additional basic types.
* Macros for architecture-dependent assembly code and compilation.
* Error codes and functions to work with them.
## Supported platforms
The build and correct unit test execution has been confirmed for following platforms:
* FreeBSD
* GNU/Linux
* Haiku
* MacOS (ARM-based)
* OpenBSD
* Windows 32-bit
* Windows 64-bit
## Requirements
The following packages need to be installed for building:
* gcc >= 4.9
* make >= 4.0
## Building
To build the library, perform the following commands:
```bash
make config # Configure the build
make fetch # Fetch dependencies from Git repository
make
sudo make install
```
To get more build options, run:
```bash
make help
```
To uninstall library, simply issue:
```bash
make uninstall
```
To clean all binary files, run:
```bash
make clean
```
To clean the whole project tree including configuration files, run:
```bash
make prune
```
## SAST Tools
* [PVS-Studio](https://pvs-studio.com/en/pvs-studio/?utm_source=website&utm_medium=github&utm_campaign=open_source) - static analyzer for C, C++, C#, and Java code.