1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-03 04:33:30 -05:00
polybar/common/travis/configure.sh

10 lines
292 B
Bash
Raw Normal View History

2016-12-15 14:22:42 -05:00
#!/bin/bash
2016-11-19 02:55:46 -05: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}" \
-DCMAKE_BUILD_TYPE="${BUILD_TYPE:-Release}" \
-DBUILD_TESTS:BOOL="${BUILD_TESTS:-OFF}" ..