-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Milestone
Description
I'm putting these notes for my benefit and this issue will be closed in a couple days.
I'm very pleased that we can build and run the unit_tests on msvc builds thanks to conan. And they build OK on MacOS-X without using conan. I've been unable to build Exiv2 with conan on Cygwin and/or MinGW and I've said in the docs that we don't support this.
Thanks to Dan's wonderful script ci/install_dependencies.sh, setting up on Linux is easy and is documented in README.md.
- Building and installing shared gtest libraries from https://github.com/google/googletest/archive/release-1.8.0.tar.gz
$ mkdir -p ~/gnu/gtest
$ cp release-1.8.0.tar.gz ~/gnu/gtest
$ cd ~/gnu/gtest
$ tar xzf release-1.8.0.tar.gz
$ cd googletest-release-1.8.0
$ mkdir build
$ cd build
$ cmake .. -DBUILD_SHARED_LIBS=1
$ make
$ sudo make install
- Building exiv2 with unit_tests
$ mkdir -p <exiv2dir>/build
$ cd <exiv2dir>/build
$ cmake .. -DEXIV2_BUILD_UNIT_TESTS=1
$ make
$ bin/unit_tests.exe