Skip to content

Commit

Permalink
Merge pull request #53 from andre2007/master
Browse files Browse the repository at this point in the history
Correction for building with Microsoft Visual Studio Build Tools 2022
  • Loading branch information
lpugin authored Sep 9, 2024
2 parents 1fb0775 + 8fa5ffb commit e080861
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions _book/06-installing-or-building-from-sources/05-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ Running `sudo make install` will copy the library and the headers in `/usr/local

#### Building verovio.dll on Windows using Microsoft Visual Studio Build Tools 2022

In addition to Microsoft Visual Studio Build Tools 2022, also [Make](https://gnuwin32.sourceforge.net/packages/make.htm) is used.

Open `x64 Native Tools Command Prompt for VS 2022` and enter:

```
cd cmake
cmake -G "Unix Makefiles" -DBUILD_AS_LIBRARY=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE .
make
cmake -DBUILD_AS_LIBRARY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE -B build
cmake --build build --config Release
```

### Examples
Expand Down

0 comments on commit e080861

Please sign in to comment.