Skip to content

Commit

Permalink
add building from sources instructions with clang 16
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal authored Jul 17, 2023
1 parent dbd3838 commit 4c71bb3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ int main()
}
```

## Requirements

#### Compiler Support

* [MSVC➚](https://en.wikipedia.org/wiki/Microsoft_Visual_Studio) version 143 or newer.
* [GCC➚](https://gcc.gnu.org/) version 13 or newer.
* [Clang➚](https://clang.llvm.org/) version 16 or newer.

#### C++ Language version
* [C++20➚](https://en.wikipedia.org/wiki/C%2B%2B17) or newer.

## Consuming library with CMake

```cmake
Expand Down Expand Up @@ -78,3 +89,19 @@ Feel free to join Faker C++ development! 🚀
Please check [CONTRIBUTING](https://github.com/cieslarmichal/faker-cxx/blob/main/CONTRIBUTING.md) guide.

[Discord Channel](https://discord.gg/h2ur8H6mK6) for contributors.


## Building from sources with Clang 16

```
git clone https://github.com/cieslarmichal/faker-cxx.git
git submodule update --init --recursive
cd faker-cxx
mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/clang++-16
make
```

0 comments on commit 4c71bb3

Please sign in to comment.