polybar-dwm/common/travis/configure.sh

10 lines
283 B
Bash
Raw Normal View History

2016-12-15 19:22:42 +00:00
#!/bin/bash
2016-11-19 07:55:46 +00:00
mkdir -p "${TRAVIS_BUILD_DIR}/build"
cd "${TRAVIS_BUILD_DIR}/build" || false
cmake \
-DCMAKE_C_COMPILER="${CC}" \
-DCMAKE_CXX_COMPILER="${CXX}" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
2018-04-07 22:49:51 +00:00
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}" \
2016-11-19 07:55:46 +00:00
-DBUILD_TESTS:BOOL="${BUILD_TESTS:-OFF}" ..