Skip to content

Commit 6b908ef

Browse files
committed
Update README with CMake instructions
1 parent 7756251 commit 6b908ef

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,19 @@ make
5353
make test
5454
```
5555

56+
### Modern CMake (All Platforms)
57+
This is the recommended way to build and integrate the library:
58+
59+
```bash
60+
mkdir build
61+
cd build
62+
cmake ..
63+
cmake --build .
64+
ctest .
65+
```
66+
5667
### Windows (MSVC)
57-
This fork is specifically patched to support building with Visual Studio 2019/2022. You can include the headers directly in your solution without any extra configuration.
68+
This fork is specifically patched to support building with Visual Studio 2019/2022. You can use the CMake instructions above to generate a Visual Studio solution, or simply include the headers directly in your project.
5869

5970
## Directory Structure
6071

0 commit comments

Comments
 (0)