Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 416 Bytes

msvc-compilation-guide.md

File metadata and controls

33 lines (23 loc) · 416 Bytes

🔨 Building project with MSVC

1. Prepare build directory

git clone https://github.com/cieslarmichal/faker-cxx.git
cd faker-cxx
git submodule update --init --recursive

2. Setup CMake

cmake -B ./build -G "Visual Studio 17 2022"

3. Build

cmake --build ./build

4. Run tests

./faker-cxx-UT.exe

or using CTest:

ctest --test-dir ./build