Changed default for WITH_EXAMPLES to NO.
the build failed Details

This commit is contained in:
tastytea 2019-04-04 12:58:49 +02:00
parent d7bec891dd
commit 55529136c2
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
# -*- mode: conf-toml -*-
pipeline:
gcc6:
image: debian:stretch-slim
@ -16,7 +17,7 @@ pipeline:
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest ..
@ -53,7 +54,7 @@ pipeline:
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES ..
- make VERBOSE=1
- make install DESTDIR=install
volumes:
@ -84,7 +85,7 @@ pipeline:
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES ..
- make VERBOSE=1
- make install DESTDIR=install
volumes:

View File

@ -5,7 +5,7 @@ project (mastodon-cpp
)
set(WITH_EASY "YES" CACHE STRING "WITH_EASY defaults to \"YES\"")
set(WITH_EXAMPLES "YES" CACHE STRING "WITH_EXAMPLES defaults to \"YES\"")
set(WITH_EXAMPLES "NO" CACHE STRING "WITH_EXAMPLES defaults to \"NO\"")
set(WITH_TESTS "NO" CACHE STRING "WITH_TESTS defaults to \"NO\"")
set(WITH_DOC "YES" CACHE STRING "WITH_DOC defaults to \"YES\"")
set(WITH_DEB "NO" CACHE STRING "WITH_DEB defaults to \"NO\"")

View File

@ -163,7 +163,7 @@ cmake options:
* `-DWITH_EASY=NO` to not build the Easy abstractions and to get rid of the jsoncpp-dependency (not recommended)
* `-DWITH_EXAMPLES=YES` if you want to compile the examples
* `-DWITH_TESTS=YES` if you want to compile the tests
* `-DWITH_DOC=YES` if you want to compile the HTML reference
* `-DWITH_DOC=NO` if you don't want to compile the HTML reference
* One of:
* `-DWITH_DEB=YES` if you want to be able to generate a deb-package
* `-DWITH_RPM=YES` if you want to be able to generate an rpm-package