Self-contained demo of C++ unit testing examples
brew update
brew install cmake
brew install conan
choco install cmake
choco install python
pip install --upgrade conan
git clone https://github.com/shawinnes/cpp-unittesting
cd cpp-unittesting
mkdir build
cd build
conan install .. --build missing
cmake ..
make
bin/demo_test
git clone https://github.com/shawinnes/cpp-unittesting
cd cpp-unittesting
mkdir build-rel
cd build-rel
conan install .. -s compiler="Visual Studio" -s compiler.version=15 -s compiler.runtime=MT --build missing
cmake -G "Visual Studio 15 Win64" ..
msbuild demo.sln /p:Configuration=Release
git clone https://github.com/shawinnes/cpp-unittesting
cd cpp-unittesting
mkdir build-rel
cd build-rel
conan install .. -s compiler="Visual Studio" -s compiler.version=15 -s compiler.runtime=MTd --build missing
cmake -G "Visual Studio 15 Win64" ..
msbuild demo.sln /p:Configuration=Debug
- commented
- updated to support Visual Studio
- initial commit using g++ on OS X (the lib/*.a files are OS X builds)
- Added Conan