CBell is a sort of "incubation chamber" for some libraries that I plan to develop towards making my own web server framework mostly from scratch.
Right now, the way you use this solution is to build it and run the unit tests for the various libraries. There are two main ways to run the tests:
- Use CTest.
- Run individual unit test runners directly (e.g.
build/Uri/test/Debug/UriTests.exe
).
- Windows -- Visual Studio (Microsoft Visual C++)
- Linux -- clang or gcc
- MacOS -- Xcode (clang)
There are TWO distinct steps in the build process:
- Generation of the build system, using CMake
- Compiling, linking, etc., using CMake-compatible toolchain
- CMake version 3.8 or newer
- C++11 toolchain compatible with CMake for your development platform (e.g. Visual Studio on Windows)
Generate the build system using CMake from the solution root. For example:
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A "x64" ..
Either use CMake or your toolchain's IDE to build. For CMake:
cd build
cmake --build . --config Release