Remove 2.6-isms Remove 2.8-isms Bump CMake minimum version to 3.4 Disable some options when used as a subdirectory Use `CONFIGURE_DEPENDS` with `file(GLOB)` when possible Backport CMake 3.15's MSVC_RUNTIME_LIBRARY setting. Set all compile options as generator expressions. Set all find-package files to be installed to the correct file. Remove `export(PACKAGE)`, as this has been deprecated. Remove fat binary support Remove manual setting of iPhone settings. These should be set by parent projects. Remove use of ExternalProject for a local use Conditionally remove format target unless clang-format is found
29 lines
554 B
YAML
29 lines
554 B
YAML
language: c++
|
|
os:
|
|
- linux
|
|
- osx
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
before_install:
|
|
- |
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
|
|
&& sudo apt-get update -qq \
|
|
&& if [ "$CXX" == "g++" ]; then
|
|
sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
|
|
fi
|
|
fi
|
|
before_script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
- cd ..
|
|
script:
|
|
- cmake --build build
|
|
- cmake --build build --target test
|
|
matrix:
|
|
exclude:
|
|
- os: linux
|
|
compiler: clang
|