mirror of
https://github.com/getml/sqlgen.git
synced 2026-02-18 06:38:35 -06:00
Added installation instructions
This commit is contained in:
19
README.md
19
README.md
@@ -53,3 +53,22 @@ if (result) {
|
||||
std::cout << result.error().what() << std::endl;
|
||||
}
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
To install vcpkg:
|
||||
|
||||
```
|
||||
git submodule update --init
|
||||
./vcpkg/bootstrap-vcpkg.sh # Linux, macOS
|
||||
./vcpkg/bootstrap-vcpkg.bat # Windows
|
||||
# You may be prompted to install additional dependencies.
|
||||
```
|
||||
|
||||
To compile the library:
|
||||
|
||||
```
|
||||
cmake -S . -B build -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build -j 4 # gcc, clang
|
||||
cmake --build build --config Release -j 4 # MSVC
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user