Skip to content

Commit

Permalink
Added prefix to CMakeList.txt options. #357
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jan 21, 2019
1 parent e51dd48 commit cdedc08
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 89 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Expand Up @@ -13,31 +13,31 @@ matrix:
env: BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_ZLIB=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_ZLIB=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_BZIP=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_BZIP=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_LZMA=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_LZMA=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_WZAES=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_WZAES=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_PKCRYPT=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_PKCRYPT=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DCOMPRESS_ONLY=ON" BUILDDIR="../build"
env: TOOL="-DMZ_COMPRESS_ONLY=ON" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DDECOMPRESS_ONLY=ON" BUILDDIR="../build"
env: TOOL="-DMZ_DECOMPRESS_ONLY=ON" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_PKCRYPT=OFF -DUSE_WZAES=OFF" BUILDDIR="../build"
env: TOOL="-DMZ_PKCRYPT=OFF -DMZ_WZAES=OFF" BUILDDIR="../build"
- os: linux
compiler: clang
env: TOOL="-DUSE_OPENSSL=ON" BUILDDIR="../build"
env: TOOL="-DMZ_OPENSSL=ON" BUILDDIR="../build"
- os: linux
compiler: gcc
env: BUILDDIR="../build"
Expand All @@ -49,13 +49,13 @@ matrix:
env: BUILDDIR="../build"
- os: osx
compiler: clang
env: TOOL="-DUSE_LIBCOMP=ON" BUILDDIR="../build"
env: TOOL="-DMZ_LIBCOMP=ON" BUILDDIR="../build"
- os: osx
compiler: gcc
env: TOOL="-DUSE_LIBCOMP=ON" BUILDDIR="../build"
env: TOOL="-DMZ_LIBCOMP=ON" BUILDDIR="../build"
- os: osx
compiler: clang
env: TOOL="-DUSE_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_INCLUDE_DIRS=/usr/local/opt/openssl/include -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/libcrypto.dylib -DOPENSSL_SSL_LIBRARY=/usr/local/opt/openssl/lib/libssl.dylib" BUILDDIR="../build"
env: TOOL="-DMZ_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_INCLUDE_DIRS=/usr/local/opt/openssl/include -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/libcrypto.dylib -DOPENSSL_SSL_LIBRARY=/usr/local/opt/openssl/lib/libssl.dylib" BUILDDIR="../build"

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libbsd-dev; fi
Expand All @@ -65,7 +65,7 @@ before_install:
before_script:
- mkdir build
- cd build
- cmake .. -DBUILD_TEST=ON -DBUILD_UNIT_TEST=ON $TOOL
- cmake .. -DMZ_BUILD_TEST=ON -DMZ_BUILD_UNIT_TEST=ON $TOOL

script:
- cmake --build .
Expand Down

0 comments on commit cdedc08

Please sign in to comment.